-
Notifications
You must be signed in to change notification settings - Fork 529
Add cli for @huggingface/hub #1412
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
86956a3
add create-branch
coyotte508 b175cf4
add delete-branch
coyotte508 80faefb
cli file
coyotte508 c3cc59b
Merge remote-tracking branch 'origin/main' into cli
coyotte508 28f1050
document cli & name it to 'hfx'
coyotte508 e886d54
Update packages/hub/package.json
coyotte508 dda33e7
fix TS
coyotte508 0de8bea
switch back to hfx for now @julien-c, see slack
coyotte508 13569ac
fix repo param in url
coyotte508 618bbce
fixup! fix repo param in url
coyotte508 d982af9
hfjs
coyotte508 ef81d23
fixup! hfjs
coyotte508 f9a5747
doc
coyotte508 fa31248
remove all shorthands (except 'q')
coyotte508 3533e2e
Merge remote-tracking branch 'origin/main' into cli
coyotte508 0fa9af7
cli fixes
coyotte508 23498e0
cli fixes
coyotte508 f735cfa
fixup! cli fixes
coyotte508 f831b3c
add hidden hub-url CLI param
coyotte508 3aacda1
fix uploading to new rev not from empty
coyotte508 ec619f3
Merge remote-tracking branch 'origin/main' into cli
coyotte508 04d7fdd
Merge branch 'main' into cli
coyotte508 4aefa05
Also support pathInRepo positional arg
coyotte508 03e615d
Add create-branch to the cli
coyotte508 0dec5a0
token param too
coyotte508 3b84137
better usage text
coyotte508 43aae04
Add --force param to create-branch
coyotte508 e25930e
fixup! Add --force param to create-branch
coyotte508 be57754
more detailed usage
coyotte508 8f96728
update repo name description
coyotte508 0be6a40
add delete-branch and version commands
coyotte508 ea0e2bc
add repoExists function
coyotte508 f6e9893
create repo when it does not exist
coyotte508 4a8e319
Update default commit message
coyotte508 468dc2c
create-branch => branch create and delete-branch => branch delete
coyotte508 a597f08
fixup! create-branch => branch create and delete-branch => branch delete
coyotte508 e0ad6f3
also upgrade typescriptt dep of doc-internal
coyotte508 a4a5a8d
always display full stack trace
coyotte508 220dbec
Merge branch 'main' into cli
coyotte508 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.