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
As a project creator
I want to have a list of available templates
So that I could find available templates, and may be apply them simpler
demo:
ffizer list
alias\tflags
alias is the name to provide to the ffizer apply -t, alias are NOT unique
flags is the flags to provide to ffizer apply to use this template
default output is a tsv
the output is listed in LRU, then alphabetically
the final list remove duplicate
The content of the list comes from a local configuration (eg $HOME/.config/ffizer/templates.yaml)
Content of templates.yaml
could be edited manually
is enriched automatically when using ffizer apply -s ... with an unlisted template, the alias is defaulted by by removing https://hostname/ or git@hostname: from source, for local template "just" the "filename" of the folder.
the format of templates.yam could be something like
the download of entry in templates_list could be cached, recursive (avoid loop)
issue on download, parsing,... is a warning but should not stop the listing
Maybe add ffizer apply -t alias ... as a shorter version instead of -s ...
Maybe display a selection with the list of filtered templates when using -t alias with more than 1 found, or when no -t ... nor -s ... then display the full list in LRU, alphabetical order (the last used should be the easiest to select)
The text was updated successfully, but these errors were encountered:
demo:
alias
is the name to provide to theffizer apply -t
, alias are NOT uniqueflags
is the flags to provide toffizer apply
to use this templateThe content of the list comes from a local configuration (eg
$HOME/.config/ffizer/templates.yaml
)Content of
templates.yaml
ffizer apply -s ...
with an unlisted template, thealias
is defaulted by by removinghttps://hostname/
orgit@hostname:
from source, for local template "just" the "filename" of the folder.the format of templates.yam could be something like
the download of entry in templates_list could be cached, recursive (avoid loop)
issue on download, parsing,... is a warning but should not stop the listing
Maybe add
ffizer apply -t alias ...
as a shorter version instead of-s ...
Maybe display a selection with the list of filtered templates when using
-t alias
with more than 1 found, or when no-t ...
nor-s ...
then display the full list in LRU, alphabetical order (the last used should be the easiest to select)The text was updated successfully, but these errors were encountered: