forked from nrabulinski/attic
parent
863f8dcca3
commit
5a23cda073
4 changed files with 12 additions and 0 deletions
|
@ -33,6 +33,9 @@ enum Command {
|
||||||
#[derive(Debug, Clone, Parser)]
|
#[derive(Debug, Clone, Parser)]
|
||||||
struct Create {
|
struct Create {
|
||||||
/// Name of the cache to create.
|
/// Name of the cache to create.
|
||||||
|
///
|
||||||
|
/// This can be either `servername:cachename` or `cachename`
|
||||||
|
/// when using the default server.
|
||||||
cache: CacheRef,
|
cache: CacheRef,
|
||||||
|
|
||||||
/// Make the cache public.
|
/// Make the cache public.
|
||||||
|
|
|
@ -16,6 +16,9 @@ use attic::nix_store::NixStore;
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
pub struct Push {
|
pub struct Push {
|
||||||
/// The cache to push to.
|
/// The cache to push to.
|
||||||
|
///
|
||||||
|
/// This can be either `servername:cachename` or `cachename`
|
||||||
|
/// when using the default server.
|
||||||
cache: CacheRef,
|
cache: CacheRef,
|
||||||
|
|
||||||
/// The store paths to push.
|
/// The store paths to push.
|
||||||
|
|
|
@ -13,6 +13,9 @@ use crate::nix_netrc::NixNetrc;
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
pub struct Use {
|
pub struct Use {
|
||||||
/// The cache to configure.
|
/// The cache to configure.
|
||||||
|
///
|
||||||
|
/// This can be either `servername:cachename` or `cachename`
|
||||||
|
/// when using the default server.
|
||||||
cache: CacheRef,
|
cache: CacheRef,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@ use attic::nix_store::{NixStore, StorePath};
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
pub struct WatchStore {
|
pub struct WatchStore {
|
||||||
/// The cache to push to.
|
/// The cache to push to.
|
||||||
|
///
|
||||||
|
/// This can be either `servername:cachename` or `cachename`
|
||||||
|
/// when using the default server.
|
||||||
cache: CacheRef,
|
cache: CacheRef,
|
||||||
|
|
||||||
/// Push the new paths only and do not compute closures.
|
/// Push the new paths only and do not compute closures.
|
||||||
|
|
Loading…
Reference in a new issue