-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Array of values printing all indexes fix
- Loading branch information
Showing
5 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ fn main() { | |
|
||
// Covert to usable code | ||
let matches: clap::ArgMatches = Command::new("Design Tokens") | ||
.version("3.1.0") | ||
.version("3.1.1") | ||
.author("Vladislav R. <[email protected]>") | ||
.about("Parses figma design tokens to usable code") | ||
.arg(Arg::new("config").short('c').long("config").action(ArgAction::Set).required(true)) | ||
|
@@ -40,10 +40,10 @@ fn main() { | |
|
||
let config_file = matches.get_one::<String>("config").expect("required"); | ||
|
||
println!( | ||
"config: {:?}", | ||
&config_file | ||
); | ||
// println!( | ||
// "config: {:?}", | ||
// &config_file | ||
// ); | ||
|
||
// Deserialize the config file | ||
let token_config: deserializer::TokensConfig = general::get_config(config_file); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters