-
Notifications
You must be signed in to change notification settings - Fork 315
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
Migrate cli implementation from clap to structopt #8027
Merged
christophermaier
merged 106 commits into
habitat-sh:master
from
sajjaphani:psajja/migrate-to-structopt
Dec 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
6c733c4
[Refactor] move Unload into its own struct
sajjaphani e981e40
[Refactor] reuse unload struct from svc
sajjaphani 7a5e24b
[Refactor] reuse stop struct from svc
sajjaphani 07b8595
[Refactor] reuse start struct from svc
sajjaphani b745493
[Refactor] extract and reuse status struct from svc
sajjaphani 126bc73
[Refactor] reuse config apply struct from config
sajjaphani 818c5d5
[Refactor] move pkg download into its own struct
sajjaphani 4e9434a
[Refactor] reuse pkg download struct from pkg
sajjaphani a62ec20
[Refactor] move pkg build into its own struct
sajjaphani 7f6a0d6
[Refactor] reuse pkg build struct from pkg
sajjaphani b836fe0
[Refactor] move cli setup into its own struct
sajjaphani 457dba1
[Refactor] reuse cli setup struct from cli
sajjaphani c95ed5a
[Refactor] move cli completers into its own struct
sajjaphani 642aba4
[Refactor] reuse cli completers struct from cli
sajjaphani f210f3e
[Refactor] move alias term into a struct
sajjaphani b2a657d
[Refactor] create and reuse cli term struct from sup
sajjaphani ca3a370
[Refactor] reuse pkg install struct from pkg
sajjaphani 70a4b1b
[Refactor] move non_empty into util, fix failing test
sajjaphani 5d9b74f
remove unused funciton
sajjaphani f3d9269
fix rustfmt errors
sajjaphani 054fba6
[Refactor] extract and reuse config apply struct
sajjaphani a6b1cfa
[Refactor] extract and reuse file upload struct
sajjaphani d8a632a
[Refactor] reuse user key struct from user
sajjaphani 51a3502
[Refactor] extract and reuse svc key struct from svc
sajjaphani 330046b
[Refactor] reuse license struct from licese
sajjaphani 6b1f71c
[Refactor] move and reuse job start into struct from bldr
sajjaphani f98758d
[Refactor] move and reuse job cancel into a struct from bldr
sajjaphani c44a65a
[Refactor] move and reuse job promote into a struct from bldr
sajjaphani 0bce7ea
[Refactor] move and reuse job demote into a struct from bldr
sajjaphani d85c19b
[Refactor] move and reuse channel create into a struct from bldr
sajjaphani 5b456d7
[Refactor] move and reuse channel destroy into a struct from bldr
sajjaphani c07ab68
[Refactor] move and reuse channel demote into a struct from bldr
sajjaphani 4ac289e
[Refactor] move and reuse channel promote into a struct from bldr
sajjaphani 38aabdb
[Refactor] move and reuse channel list into a struct from bldr
sajjaphani d18eda6
[Refactor] move and reuse ley export into a struct from ring
sajjaphani e41c8c8
[Refactor] move and reuse key generate into a struct from ring
sajjaphani 4eb7838
remove dead code
sajjaphani 69dd432
[Refactor] move and reuse key import into a struct from ring
sajjaphani 043dfe2
[Refactor] move and reuse plan init into a struct from plan
sajjaphani bf7d916
[Refactor] move and reuse plan render into a struct from plan
sajjaphani 8cd61b2
[Refactor] reuse pkg list from pkg
sajjaphani 498c79b
[Refactor] extract and reuse pkg verify struct from pkg
sajjaphani 3fe5d80
[Refactor] extract and reuse pkg upload struct from pkg
sajjaphani 093fafa
[Refactor] extract and reuse pkg uninstall struct from pkg
sajjaphani cbc0892
[Refactor] extract and reuse pkg sign struct from pkg
sajjaphani 3435e86
[Refactor] extract and reuse pkg search struct from pkg
sajjaphani 1630e55
[Refactor] extract and reuse pkg provides struct from pkg
sajjaphani 04b102d
[Refactor] extract and reuse pkg bulkupload struct from pkg
sajjaphani 22b42ad
[Refactor] extract and reuse pkg binlink struct from pkg
sajjaphani e74181a
[Refactor] extract and reuse pkg dependencies struct from pkg
sajjaphani de342cc
[Refactor] extract and reuse pkg path struct from pkg
sajjaphani 8893bc9
[Refactor] extract and reuse pkg binds struct from pkg
sajjaphani c3adcb7
[Refactor] extract and reuse pkg info struct from pkg
sajjaphani 49d5048
[Refactor] extract and reuse pkg header struct from pkg
sajjaphani b26e9f2
[Refactor] extract and reuse pkg hash struct from pkg
sajjaphani 33afacd
[Refactor] extract and reuse pkg env struct from pkg
sajjaphani 6ae3c45
[Refactor] extract and reuse origin transfer struct from origin
sajjaphani 114dccb
[Refactor] extract and reuse origin info struct from origin
sajjaphani 6e69a46
[Refactor] extract and reuse origin depart struct from origin
sajjaphani 182d6f5
[Refactor] extract and reuse origin delete struct from origin
sajjaphani 804a906
[Refactor] extract and reuse origin create struct from origin
sajjaphani ddc6007
[Refactor] extract and reuse invitations send struct from origin
sajjaphani bca8e09
[Refactor] extract and reuse invitations rescind struct from origin
sajjaphani b96f832
[Refactor] extract and reuse invitations pending struct from origin
sajjaphani 18c0246
[Refactor] extract and reuse invitations list struct from origin
sajjaphani 24c7b3d
[Refactor] extract and reuse invitations ignore struct from origin
sajjaphani b672994
[Refactor] extract and reuse invitations accept struct from origin
sajjaphani 094c546
[Refactor] extract and reuse key download struct from origin
sajjaphani d78abce
[Refactor] extract and reuse key generate struct from origin
sajjaphani f5e201d
[Refactor] extract and reuse pkg config struct from pkg
sajjaphani 9218fcd
[Refactor] extract and reuse pkg channels struct from pkg
sajjaphani 9cc670a
[Refactor] extract and reuse pkg promote struct from pkg
sajjaphani b72ee85
[Refactor] extract and reuse pkg demote struct from pkg
sajjaphani 582001c
[Refactor] extract and reuse pkg delete struct from pkg
sajjaphani 6c0d77b
[Refactor] extract and reuse job status struct from bldr
sajjaphani d577b7c
remove unused function
sajjaphani c8ff478
[Refactor] extract and reuse key upload struct from origin
sajjaphani ddc9bfe
[Refactor] extract and reuse secret upload struct from origin
sajjaphani cb38b6f
[Refactor] extract and reuse secret list struct from origin
sajjaphani b3e23c0
[Refactor] extract and reuse secret delete struct from origin
sajjaphani ae8878f
[Refactor] extract and reuse key import struct from origin
sajjaphani dce5e8e
[Refactor] extract and reuse key export struct from origin
sajjaphani 01a33c8
fix rustfmt errors
sajjaphani beb606a
[Refactor] adjust user subcommand
sajjaphani c054a89
[Refactor] extract a struct for the root clap app
sajjaphani 7f9f04c
fix rustfmt errors
sajjaphani d8c0dc0
fix clippy errors
sajjaphani 82b9aa7
[PR Feedback] remove unnecessary doc comment, fix variant
sajjaphani c24056a
[PR Feedback] add comment on Serialize
sajjaphani 0d5fd66
[PR Feedback] corrected spelling error
sajjaphani 93e6ba0
[PR Feedback] make them lower case
sajjaphani 70f3eb0
Added aliases
sajjaphani 9a092ef
[Refactor] added user wrapper to hab
sajjaphani 5cd3562
added settings to hab licence
sajjaphani e39b352
[Refactor] added bldr wrapper to hab
sajjaphani e35c713
[Refactor] added cli wrapper to hab
sajjaphani 35d5b84
[Refactor] added service config wrapper to hab
sajjaphani 26f1eb1
[Refactor] added file wrapper to hab
sajjaphani e9b88a0
[Refactor] added ring wrapper to hab
sajjaphani 5061136
[Refactor] added plan wrapper to hab
sajjaphani a4c83e2
[Refactor] added pkg wrapper to hab, need to fix mismatched types
sajjaphani c100702
fix the Pkg use
sajjaphani aa0fc91
[Refactor] added origin wrapper to hab
sajjaphani 4c7fd39
[Refactor] remove redundant options
sajjaphani 0da1a55
fix rustfmt errors
sajjaphani c63e2a1
[PR Feedback] use wildcard to import modules declarations
sajjaphani 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error on
OritinKeyExport