-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): Expand options for storing values (#2237)
In, #2226 we gain the ability to marshal copy data and remotables that are backed by formulas. This change surfaces these features to the CLI by exposing a variety of flags. ```console > endo store --json '{"hello": "world"}' --name greeting > endo show greeting { hello: 'world' } ``` ```console > endo store --text 'Hello, World!' --name greeting > endo show greeting Hello, World! ``` ```console > endo store --bigint 42 --name meaningful-bigint > endo show meaningful-bigint 42n ``` ```console > endo store --json-stdin --name greeting < <(jq -n '{hello:"world"}') > endo show greeting { hello: 'world' } ``` ```console > endo store --text-stdin --name greeting < <(echo hi) > endo show greeting hi ``` ```console > endo store --stdin --name greeting < <(echo hi) > endo show greeting Object [Alleged: Readable file with SHA-512 d78abb05...] {} > endo cat greeting hi ```
- Loading branch information
Showing
9 changed files
with
134 additions
and
21 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
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
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