summaryrefslogtreecommitdiff
path: root/src/cmd/init.rs
AgeCommit message (Collapse)AuthorFilesLines
2024-03-03chore: upgrade dependency on rpasswordLars Wirzenius1-1/+1
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
2022-10-23refactor: use clap instead of structoptLars Wirzenius1-3/+3
clap version 3 basically replaces structopt entirely. Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+5
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-05-29refactor: only have client config without passwordsLars Wirzenius1-6/+2
This means the config is always the config, and not sometimes the config or the config and passwords. Also, there's no config option for encrypting, anymore. It will not be optional now.
2021-04-10refactor: have ClientConfigWithoutPasswords know its filenameLars Wirzenius1-7/+2
This allows Init::run to not need to be given it as an argument.
2021-04-10refactor: struct Init subcommandLars Wirzenius1-17/+26
2021-04-10refactor: move ClientConfig into its own moduleLars Wirzenius1-1/+1
2021-04-09feat: add "obnam init" subcommandLars Wirzenius1-0/+28
This reads a passphrase and derives two passwords from that, and stores them next to the configuration file. The passwords aren't yet used for anything, that will come later.