Skip to content

Commit

Permalink
Adding note of more improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pfuntner committed May 20, 2024
1 parent b76028b commit 14fab54
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions doc/json-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,16 @@ The `pwd` subcommand prompts the location of the current node - in a filesystem,
- Tab-completion for subcommand verbs and potential arguments (keys)
- Command history: Use the up and down arrows to go through subcommands previously issued
- Command editing: use the left and right arrows to move around a subcommand to make changes
- I have ideas for more subcommands:
- Changing the JSON object:
- Adding elements
- Deleting elements
- Changing element values
- Writing out the object (the entire object or just from the current node)
- Finding objects - I envision something like the Unix `find` command but geared toward `json-shell` and nodes
- I have ideas for more improvements:
- Expressing more complicated key targets:
- `cd /foo`
- `cd foo/bar`
- `cd ../foo`
- `cd ~-` or `cd -`?
- More subcommands:
- Changing the JSON object:
- Adding elements
- Deleting elements
- Changing element values
- Writing out the object (the entire object or just from the current node)
- Finding objects - I envision something like the Unix `find` command but geared toward `json-shell` and nodes

0 comments on commit 14fab54

Please sign in to comment.