summaryrefslogtreecommitdiff
path: root/src/cmd/list.rs
AgeCommit message (Collapse)AuthorFilesLines
2022-10-23refactor: use clap instead of structoptLars Wirzenius1-2/+2
clap version 3 basically replaces structopt entirely. Sponsored-by: author
2022-03-22feat! store list of generations in a "client trust root" chunkLars Wirzenius1-1/+7
Backups made with this version can't be restored with old clients, and vice version. Sponsored-by: author
2022-01-16refactor: rename AsyncBackupClient to just BackupClientLars Wirzenius1-2/+2
There is only async. Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+4
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-07-23refactor: use async for "obnam list"Lars Wirzenius1-3/+9
Sponsored-by: author
2021-04-10refactor: struct List subcommandLars Wirzenius1-7/+13
2021-04-10refactor: move ClientConfig into its own moduleLars Wirzenius1-1/+2
2021-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-1/+1
Configuration setting can disable it.
2021-02-04refactor: have per-module error enumsLars Wirzenius1-1/+2
This means that a function that parses step bindings can't return an error that the document is missing a title. Such an error return would be nonsensical, and we use the Rust type system to prevent it, at a small cost of being a bit verbose. Additional benefit is that the library portion of Obnam doesn't return anyhow::Result values anymore.
2020-12-30feat: add GenerationListLars Wirzenius1-3/+2
Various part of Obnam will need to deal with lists of generations. Abstract this.
2020-12-30feat! store and show timestamp for each backup generationLars Wirzenius1-2/+4
This changes the output format of "obnam list".
2020-12-23feat! add a global --config optionLars Wirzenius1-3/+1
This breaks all invocations of the Obnam client, as the option needs to come before the subcommand name. The benefit of this breakage is simpler, less repetitive code.
2020-11-18feat! change client config to take a base URL instead of host, portLars Wirzenius1-1/+1
2020-11-13refactor: put all client functionality into one programLars Wirzenius1-0/+13