Skip to content
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

Allow user to specify an output format [114821361] #40

Merged
merged 1 commit into from
Mar 7, 2016
Merged

Allow user to specify an output format [114821361] #40

merged 1 commit into from
Mar 7, 2016

Conversation

derekbekoe
Copy link
Member

Also,
Argument Parser returns an object containing the result and the output format specified
Add tests for command output format specifying

---
Argument Parser returns an object containing the result and the output format specified
Add tests for command output format specifying
@@ -57,6 +58,10 @@ def _index(string, char, default=sys.maxsize):
except ValueError:
return default

class ArgumentParserResult(object): #pylint: disable=too-few-public-methods
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that we'll have to end up with a generic session configuration/state mechanism rather than returning an argument parser result. There are more "global" parameters (i.e. verbosity level, subscription id etc.) that will have to be extracted before we hit individual command instance execution.

We can merge this in in it's current state as getting the output format cleaned up is high prio, but we should add an item to the backlog to make it more generic...

johanste added a commit that referenced this pull request Mar 7, 2016
Allow user to specify an output format [114821361]
@johanste johanste merged commit e574c36 into Azure:master Mar 7, 2016
tjprescott pushed a commit that referenced this pull request Jul 9, 2019
* NFSAAS-2316 update to R4 RP standard (#30)

* NFSAAS-2316 update to R4 RP standard (#31)

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 update to R4 RP standard

* NFSAAS 2316 R4 update path correction (#32)

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 correction to path in R4 update

* NFSAAS-2316 R4 update and structure change (#33)

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 correction to path in R4 update

* NFSAAS-2316 R4 update and structure change

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* NFSAAS 2316 R4 update remove wheel (#34)

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 update to R4 RP standard

* NFSAAS-2316 correction to path in R4 update

* NFSAAS-2316 R4 update and structure change

* NFSAAS-2316 update to R4 remove wheel

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* This file should have been removed in the PR #33

* NFSAAS-2316 R4 update packaging fixes (#35)

* NFSAAS 2316 R4 update review comments (#36)

* NFSAAS-2316 R4 update packaging fixes

* NFSAAS-2316 update R4 review comments
Use enum for service level

* NFSAAS 2316 R4 corrections to booleans (#37)

* NFSAAS-2316 R4 update packaging fixes

* NFSAAS-2316 update R4 review comments
Use enum for service level

* NFSAAS-2316 correction to boolean usage

* NFSAAS-2316 update history (#38)

* NFSAAS-2316 R4 update packaging fixes

* NFSAAS-2316 update R4 review comments
Use enum for service level

* NFSAAS-2316 correction to boolean usage

* NFSAAS-2316 update history

* NFSAAS-2316 R4 fixes (#39)

* NFSAAS-2316 R4 update packaging fixes

* NFSAAS-2316 update R4 review comments
Use enum for service level

* NFSAAS-2316 correction to boolean usage

* NFSAAS-2316 update history

* NFSAAS-2316 further fixes to R4 commands

* NFSAAS-2316 R4 Fixes (#40)

* NFSAAS-2316 R4 update packaging fixes

* NFSAAS-2316 update R4 review comments
Use enum for service level

* NFSAAS-2316 correction to boolean usage

* NFSAAS-2316 update history

* NFSAAS-2316 further fixes to R4 commands

* NFSAAS-2316 R4 fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants