chore: vers 0.1.3 rust 2021 and dependencies update
This commit is contained in:
		
							parent
							
								
									3fb4125ddb
								
							
						
					
					
						commit
						055fef7b16
					
				@ -23,7 +23,7 @@ use crate::helpers::{BoilerplateOpts, HELP_TEMPLATE};
 | 
			
		||||
// use crate::validators::path_readable_file;
 | 
			
		||||
use crate::clouds::{on_cloud};
 | 
			
		||||
use crate::defs::{BxDynResult};
 | 
			
		||||
use clds::clouds::on_clouds::clear_specs;
 | 
			
		||||
use clds::clouds::utils::clear_specs;
 | 
			
		||||
 | 
			
		||||
use tkdr::crypt_lib::{encrypt, decrypt};
 | 
			
		||||
use tkdr::tera_lib::{hash_from_data, data_templated, hash_content};
 | 
			
		||||
@ -64,7 +64,7 @@ pub const KEY_PATH: &str = ".k";
 | 
			
		||||
///    the top-level help output's list of subcommands.
 | 
			
		||||
#[derive(StructOpt, Debug)]
 | 
			
		||||
#[structopt(template = HELP_TEMPLATE,
 | 
			
		||||
            about = "Coder is a command utility to manage keys (generation,encrypt,hash) and make content with Tera templates",
 | 
			
		||||
            about = "CloudMandala Declarative command line interface, to create and maintain open, free and sustainable Clouds",
 | 
			
		||||
            global_setting = structopt::clap::AppSettings::ColoredHelp)]
 | 
			
		||||
pub struct CliOpts {
 | 
			
		||||
    #[allow(clippy::missing_docs_in_private_items)] // StructOpt compile-time errors if we doc this
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@ use clds::clouds::defs::{
 | 
			
		||||
  TskSrvc,
 | 
			
		||||
  MainResourcesConfig,
 | 
			
		||||
};
 | 
			
		||||
use clds::clouds::on_clouds::env_cloud;
 | 
			
		||||
use clds::clouds::utils::env_cloud;
 | 
			
		||||
 | 
			
		||||
use clds::tsksrvcs::run_tsksrvcs_on_providers;
 | 
			
		||||
use crate::defs::{load_key};
 | 
			
		||||
 | 
			
		||||
@ -14,16 +14,18 @@ pub const HELP_TEMPLATE: &str = "{bin} {version}
 | 
			
		||||
 | 
			
		||||
{about} 
 | 
			
		||||
 | 
			
		||||
TskSrvcs: 
 | 
			
		||||
- Create a Random Key  
 | 
			
		||||
- Hash content Blake3
 | 
			
		||||
- Encrypt/Decrypt XChaCha20Poly1305 and random nonce
 | 
			
		||||
- Tera template with json-data
 | 
			
		||||
A Mandala is a geometric configuration of symbols.
 | 
			
		||||
In various spiritual traditions, mandalas may be employed 
 | 
			
		||||
for focusing attention of practitioners and adepts, as a spiritual guidance tool,
 | 
			
		||||
for establishing a sacred space and as an aid to meditation and trance induction.
 | 
			
		||||
 | 
			
		||||
Clouds sometime look like some kind of sacred or mystical spaces.
 | 
			
		||||
 | 
			
		||||
More info: cloudmandala.librecloud.online
 | 
			
		||||
 | 
			
		||||
USAGE:
 | 
			
		||||
    {usage}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{all-args}
 | 
			
		||||
";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user