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
Editing YAML files on the terminal is not the easiest thing for new people. Indents get screwed up often, and lots of people are not used to nano / vim.
We should offer an easy way to interact with this YAML file from the commandline. Inspiration for this comes from the git config command, which lets you edit your .gitconfig files easily, without having to
manually edit the files. This also helps with validation a lot.
Instead of asking users to add:
user_environment:
default_app: jupyterlab
to the yaml file, they can instead run:
tljh config set user_environment.default_app jupyterlab
We do not want users to hand-edit YAML files. This has been a
major source of bugs and confusion for users in z2jh. Doing so
in a terminal text editor makes it even worse.
This lets users type commands directly to modify config.yaml file
rather than edit files directly. This makes it a lot less error
prone and user friendly.
Advanced users can still edit config.yaml manually.
Fixes#38
We do not want users to hand-edit YAML files. This has been a
major source of bugs and confusion for users in z2jh. Doing so
in a terminal text editor makes it even worse.
This lets users type commands directly to modify config.yaml file
rather than edit files directly. This makes it a lot less error
prone and user friendly.
Advanced users can still edit config.yaml manually.
Fixes#38
Editing YAML files on the terminal is not the easiest thing for new people. Indents get screwed up often, and lots of people are not used to nano / vim.
We should offer an easy way to interact with this YAML file from the commandline. Inspiration for this comes from the
git config
command, which lets you edit your.gitconfig
files easily, without having tomanually edit the files. This also helps with validation a lot.
Instead of asking users to add:
to the yaml file, they can instead run:
tljh config set user_environment.default_app jupyterlab
This command would:
For lists, you can do:
or
(using set-list instead of set so people don't accidentally clean out their lists and replace them with one item)
View items with:
You can reset items with:
The text was updated successfully, but these errors were encountered: