EcohydroLib  1.29
Variables
CreateHydroShareResource Namespace Reference

Variables

tuple parser = argparse.ArgumentParser(description='Create a new HydroShare resource by uploading the contents of an EcohydroLib project.')
 
string help = 'The configuration file.'
 
tuple args = parser.parse_args()
 
 configFile = None
 
tuple command = HydroShareCreateResource(args.projectDir, configFile)
 
 exitCode = os.EX_OK
 
tuple username = sys.stdin.readline()
 
tuple password = getpass.getpass('HydroShare password (this will not be stored on disk): ')
 
tuple auth = get_password_authentication(username, password)
 
 title = args.title,
 
 abstract = args.abstract,
 
 keywords = args.keywords,
 
 create_callback = create_console_callback,
 
 verbose = True,
 
 overwrite = args.overwrite)
 

Variable Documentation

CreateHydroShareResource.abstract = args.abstract,
tuple CreateHydroShareResource.args = parser.parse_args()
tuple CreateHydroShareResource.auth = get_password_authentication(username, password)
tuple CreateHydroShareResource.command = HydroShareCreateResource(args.projectDir, configFile)
CreateHydroShareResource.configFile = None
CreateHydroShareResource.create_callback = create_console_callback,
CreateHydroShareResource.exitCode = os.EX_OK
string CreateHydroShareResource.help = 'The configuration file.'
CreateHydroShareResource.keywords = args.keywords,
CreateHydroShareResource.overwrite = args.overwrite)
tuple CreateHydroShareResource.parser = argparse.ArgumentParser(description='Create a new HydroShare resource by uploading the contents of an EcohydroLib project.')
tuple CreateHydroShareResource.password = getpass.getpass('HydroShare password (this will not be stored on disk): ')
CreateHydroShareResource.title = args.title,
tuple CreateHydroShareResource.username = sys.stdin.readline()
CreateHydroShareResource.verbose = True,