-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2/] Improvement: Introduce new command structure #16
Merged
Conversation
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
zeyadkhaled
force-pushed
the
zka/cli-command-structure
branch
from
January 31, 2024 15:15
b62c622
to
4c5f507
Compare
zeyadkhaled
force-pushed
the
zka/cli-command-structure
branch
4 times, most recently
from
February 2, 2024 16:58
f0a9df2
to
9b328c5
Compare
Generate changelog in
|
zeyadkhaled
force-pushed
the
zka/cli-command-structure
branch
3 times, most recently
from
February 5, 2024 16:55
faf9d93
to
886b2fd
Compare
tzyl
reviewed
Feb 6, 2024
zeyadkhaled
force-pushed
the
zka/cli-command-structure
branch
from
February 6, 2024 14:38
e8e4a7b
to
2816993
Compare
tzyl
reviewed
Feb 7, 2024
packages/cli/src/commands/site/version/get/versionGetCommand.mts
Outdated
Show resolved
Hide resolved
tzyl
approved these changes
Feb 7, 2024
ericanderson
added a commit
that referenced
this pull request
Feb 13, 2024
* origin/main: Autorelease Increase CLI max width to 150 columns (#47) Debug log site zip stats (#49) Clean up yargs and consola imports (#51) Autorelease Add generated changelog entries Breaking: force dollar sign in osdk verbs for where Display errors more consistently in @osdk/cli (#41) Fix tagPrefix Add generated changelog entries Create foundry.config.json in create-app [3/] Improvement: Use loadedToken for fetching data (#17) Move argv override logging to middleware (#42) Make sure to run all tests (#39) Update create-app to use FOUNDRY_TOKEN in templates (#40) Add generated changelog entries Fix intellisense for aggregations and fill in more number types [2/] Improvement: Introduce new command structure (#16) Autorelease Refactor create-app prompts with tests (#32) Refactor create-app dotfile generation (#31) add changelog Add generated changelog entries Add generated changelog entries put mkdir in right place remove generated files add ignore for legacy client remove deleted file added add back mkdir move mkdir fix fixes keep trying remove module shared testing infra for legacy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of an effort to improve the osdk cli.
The work to get the improvements across will be done over the followings PRs:
[1/] Add new utility functions
[2/] Introduce new command structure --> this
[3/] Use loadedToken for fetching data
This PR
Deleted the following subfolders under site:
Updated the following subfolder under site:
Added the following subfolders under site:
The cli now depends on a the config file (if found) to set default values to arguments and decide on behavior of the commands conflicting.
New Command Structure
If a project config file(foundry.config.json) with required values is provided, most of these commands without additional arguments.
Considerations
All requests are still being made using
FOUNDRY_SDK_AUTH_TOKEN
environment variable, the token and tokenFile arguments aren't respected yet. This will be handled in part 3.