GHHG10's picture
download
raw
594 Bytes
import { EOL } from "os"
import { Option } from "effect"
import * as Effect from "effect/Effect"
import { Commands } from "../../commands"
import { Runtime } from "../../../framework/runtime"
import { Daemon } from "../../../services/daemon"
export default Runtime.handler(
Commands.commands.service.commands.password,
Effect.fn("cli.service.password")(function* (input) {
const daemon = yield* Daemon.Service
const value = Option.getOrUndefined(input.value)
if (value !== undefined) yield* daemon.stop()
process.stdout.write((yield* daemon.password(value)) + EOL)
}),
)

Xet Storage Details

Size:
594 Bytes
·
Xet hash:
622f1368e9debfbf0da40060269174a7621b4d13ded5ffb8b94b02b6101f4109

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.