You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ The following is a table of the available subcommands for the CLI tool (Tinty),
164
164
|`list`| Lists all available themes. | Optional argument `--custom-schemes` to list saved custom theme files using `tinty generate-scheme`|`tinty list`|
165
165
|`apply`| Applies a specific theme. |`<scheme_system>-<scheme_name>`: Name of the system and scheme to apply. |`tinty apply base16-mocha`|
166
166
|`init`| Initializes the tool with the last applied theme otherwise `default-scheme` from `config.toml`. | - |`tinty init`|
167
-
|`current`| Displays the currently applied theme. |-|`tinty current`|
167
+
|`current`| Displays the currently applied theme or current theme values. |`<scheme_property_name>` (Optional argument with the following supported values: `author`\|`description`\|`name`\|`slug`\|`system`\|`variant`)|`tinty current`|
168
168
|`config`| Displays config related information currently in use by Tinty. Without flags it returns `config.yml` content. | - |`tinty config`|
169
169
|`info`| Provides information about themes. |`[<scheme_system>-<scheme_name>]`: Optional argument `--custom-schemes` to provide information on any custom schemes |`tinty info base16-mocha`|
170
170
|`build`| Builds the provided base16 or base24 template using [tinted-builder-rust]. |`<DIR>`: Path to the base16 or base24 template directory. |`tinty build path/to/tinted-tmux`|
complete-c tinty -n"__fish_tinty_needs_command"-s h -lhelp-d'Print help'
30
30
complete-c tinty -n"__fish_tinty_needs_command"-s V -l version -d'Print version'
31
31
complete-c tinty -n"__fish_tinty_needs_command"-f-a"build"-d'Builds the target theme template'
32
-
complete-c tinty -n"__fish_tinty_needs_command"-f-a"current"-d'Prints the last scheme name applied'
32
+
complete-c tinty -n"__fish_tinty_needs_command"-f-a"current"-d'Prints the last scheme name applied or specific values from the current scheme'
33
33
complete-c tinty -n"__fish_tinty_needs_command"-f-a"generate-completion"-d'Generates a shell completion script'
34
34
complete-c tinty -n"__fish_tinty_needs_command"-f-a"generate-scheme"-d'Generates a scheme based on an image'
35
35
complete-c tinty -n"__fish_tinty_needs_command"-f-a"info"-d'Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg: tinty info base16-mocha)'
@@ -39,6 +39,7 @@ complete -c tinty -n "__fish_tinty_needs_command" -f -a "config" -d 'Provides co
39
39
complete-c tinty -n"__fish_tinty_needs_command"-f-a"apply"-d'Applies a theme based on the chosen scheme'
40
40
complete-c tinty -n"__fish_tinty_needs_command"-f-a"install"-d'Install the environment needed for tinty'
41
41
complete-c tinty -n"__fish_tinty_needs_command"-f-a"update"-d'Update to the latest themes'
42
+
complete-c tinty -n"__fish_tinty_needs_command"-f-a"sync"-d'Install missing templates in tinty/config.toml and update existing templates'
42
43
complete-c tinty -n"__fish_tinty_needs_command"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
43
44
complete-c tinty -n"__fish_tinty_using_subcommand build"-s c -l config -d'Optional path to the tinty config.toml file'-r
44
45
complete-c tinty -n"__fish_tinty_using_subcommand build"-s d -l data-dir -d'Optional path to the tinty data directory'-r
complete-c tinty -n"__fish_tinty_using_subcommand update"-s h -lhelp-d'Print help'
88
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"build"-d'Builds the target theme template'
89
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"current"-d'Prints the last scheme name applied'
90
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"generate-completion"-d'Generates a shell completion script'
91
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"generate-scheme"-d'Generates a scheme based on an image'
92
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"info"-d'Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg: tinty info base16-mocha)'
93
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"init"-d'Initializes with the exising config. Used to Initialize exising theme for when your shell starts up'
94
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"list"-d'Lists available schemes'
95
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"config"-d'Provides config related information'
96
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"apply"-d'Applies a theme based on the chosen scheme'
97
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"install"-d'Install the environment needed for tinty'
98
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"update"-d'Update to the latest themes'
99
-
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
92
+
complete-c tinty -n"__fish_tinty_using_subcommand sync"-s c -l config -d'Optional path to the tinty config.toml file'-r
93
+
complete-c tinty -n"__fish_tinty_using_subcommand sync"-s d -l data-dir -d'Optional path to the tinty data directory'-r
complete-c tinty -n"__fish_tinty_using_subcommand sync"-s h -lhelp-d'Print help'
96
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"build"-d'Builds the target theme template'
97
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"current"-d'Prints the last scheme name applied or specific values from the current scheme'
98
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"generate-completion"-d'Generates a shell completion script'
99
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"generate-scheme"-d'Generates a scheme based on an image'
100
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"info"-d'Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg: tinty info base16-mocha)'
101
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"init"-d'Initializes with the exising config. Used to Initialize exising theme for when your shell starts up'
102
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"list"-d'Lists available schemes'
103
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"config"-d'Provides config related information'
104
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"apply"-d'Applies a theme based on the chosen scheme'
105
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"install"-d'Install the environment needed for tinty'
106
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"update"-d'Update to the latest themes'
107
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"sync"-d'Install missing templates in tinty/config.toml and update existing templates'
108
+
complete-c tinty -n"__fish_tinty_using_subcommand help; and not __fish_seen_subcommand_from build current generate-completion generate-scheme info init list config apply install update sync help"-f-a"help"-d'Print this message or the help of the given subcommand(s)'
[CompletionResult]::new('build', 'build', [CompletionResultType]::ParameterValue, 'Builds the target theme template')
33
-
[CompletionResult]::new('current', 'current', [CompletionResultType]::ParameterValue, 'Prints the last scheme name applied')
33
+
[CompletionResult]::new('current', 'current', [CompletionResultType]::ParameterValue, 'Prints the last scheme name applied or specific values from the current scheme')
34
34
[CompletionResult]::new('generate-completion', 'generate-completion', [CompletionResultType]::ParameterValue, 'Generates a shell completion script')
35
35
[CompletionResult]::new('generate-scheme', 'generate-scheme', [CompletionResultType]::ParameterValue, 'Generates a scheme based on an image')
36
36
[CompletionResult]::new('info', 'info', [CompletionResultType]::ParameterValue, 'Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg: tinty info base16-mocha)')
[CompletionResult]::new('build', 'build', [CompletionResultType]::ParameterValue, 'Builds the target theme template')
178
-
[CompletionResult]::new('current', 'current', [CompletionResultType]::ParameterValue, 'Prints the last scheme name applied')
178
+
[CompletionResult]::new('current', 'current', [CompletionResultType]::ParameterValue, 'Prints the last scheme name applied or specific values from the current scheme')
179
179
[CompletionResult]::new('generate-completion', 'generate-completion', [CompletionResultType]::ParameterValue, 'Generates a shell completion script')
180
180
[CompletionResult]::new('generate-scheme', 'generate-scheme', [CompletionResultType]::ParameterValue, 'Generates a scheme based on an image')
181
181
[CompletionResult]::new('info', 'info', [CompletionResultType]::ParameterValue, 'Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg: tinty info base16-mocha)')
'--data-dir=[Optional path to the tinty data directory]:DIRECTORY: ' \
54
54
'-h[Print help]' \
55
55
'--help[Print help]' \
56
+
'::property_name -- Optional field to retrieve scheme information for\: author, description, name, etc.:(author description name slug system variant)' \
56
57
&& ret=0
57
58
;;
58
59
(generate-completion)
@@ -256,7 +257,7 @@ esac
256
257
_tinty_commands() {
257
258
local commands; commands=(
258
259
'build:Builds the target theme template' \
259
-
'current:Prints the last scheme name applied' \
260
+
'current:Prints the last scheme name applied or specific values from the current scheme' \
260
261
'generate-completion:Generates a shell completion script' \
261
262
'generate-scheme:Generates a scheme based on an image' \
262
263
'info:Shows scheme colors for all schemes matching <scheme_system>-<scheme_name> (Eg\: tinty info base16-mocha)' \
0 commit comments