Package zeroinstall :: Package zerostore :: Module cli
[frames] | no frames]

Module cli

source code

Code for the 0store command-line interface.

Classes
  UsageError
Functions
 
init_stores() source code
 
do_manifest(args)
manifest DIRECTORY [ALGORITHM]
source code
 
do_find(args)
find DIGEST
source code
 
do_add(args)
add DIGEST (DIRECTORY | (ARCHIVE [EXTRACT]))
source code
 
do_optimise(args)
optimise [ CACHE ]
source code
 
do_verify(args)
verify (DIGEST | (DIRECTORY [DIGEST])
source code
 
do_audit(args)
audit [DIRECTORY]
source code
 
do_list(args)
list
source code
str
get_stored(dir_or_digest) source code
 
do_copy(args)
copy SOURCE [ TARGET ]
source code
 
do_manage(args)
manage
source code
Variables
  stores = None
Create a new digest.
  commands = [do_add, do_audit, do_copy, do_find, do_list, do_ma...
Function Details

get_stored(dir_or_digest)

source code 
Parameters:
  • dir_or_digest (str)
Returns: str

Variables Details

commands

Value:
[do_add, do_audit, do_copy, do_find, do_list, do_manifest, do_optimise\
, do_verify, do_manage]