Граф коммитов

366 Коммитов

Автор SHA1 Сообщение Дата
Travis Prescott 47c8d87758
Tweaks to CLI tips (#8591)
Readability. Added some content.
2019-02-20 16:13:55 -08:00
Yugang Wang f4bbf64a28
doc: pro tips of using CLI (#8351) 2019-02-19 20:19:30 -08:00
Travis Prescott 82316c8a1c
Update configuring_your_machine.md (#8479)
Update for references to azdev.
2019-02-08 13:22:39 -08:00
adewaleo 6aa14eeaa5 Help Authoring Updates. (#8325)
* Help Overhaul project V1. (#8288)

* Dummy help.yaml file

* Parse command for testing yaml parsing

Parser can output contents as yaml

updated help.yaml test file with some comments.

* Added logic to parse help.yaml file and update help data objects.

More helpfile updates.

* _help.py now raises error if it fails to parse help.yaml or help.yaml is empty

* updated _help.py: CLI now prints extension messages. Removed parser module.

* _help.py: Addressed pep8 warnings. Made some methods static

* changed dir to dir_name as dir is a builtin function.

* script to convert _help.py to help/yaml. Parses short and long summaries. Fields within commands/groups need to have some non-alphabetic ordering

* Help conversion script uses ruamel.yaml. Output is ordered and visually appealing. '>' and '|' (part of yaml syntax) are preserved in values.

* Conversion script now converts parameters to arguments (bug fix). Outputs arguments before examples

* Added some comments. Link urls have title field instad of name field. Command and Group information formatted differently. Addressed a few other PR comments.

* Fixed bug in _params_equal()

* checked out devs _help.py file.

* Refactoring code. Todo: update print_header to print links. Fix bug where some command group names / parameter names are not updated from code.

* Removed unnecessary file.

* Addressed style feedback.

* Changes:
    create temp directory to hold temporary files and scripts.
    Updated value-source to value-sources.
    get_all_help uses CliGroupHelpfile instead of knack's CliGroupHelpfile

* uncommented help import

* Added tests to help script.

* PEP8 style changes.

* Sphinx properly handles help groups.

* Refactored _help.py and _help_util.py to _help_loaders.py

* Removed _help_util.py

* Bug fixes

* More refactoring, script tests pass

* Changes to restore _help.py to same state before  rebase.

* Updated AzCliHelp to print links associated with commands and groups.

* Moved CLIHelp class\'s print method to mixin class. Removed raw value sources field. Added logic to properly update parameter info from data. Updated temp help yaml file example.

* WIP: update loader logic/architecture, class structure.

* Finish refactoring loader code and help.py

Added todo reminder.

* updated _load_help_parameters. removed unused get_example_from_data method.

* Fixed bugs and made updates in help convert script, loader and print methods.

* Begin loader testing.

* More testing work.

* Added tests for loading from help.py

* Added tests for yaml loader. Fixed bug in example printing. Yaml loader loads files that endwith help.yaml/yml.

* Help.py and help.yaml tests are passing. Fixed bug with displaying group help.

* All help tests pass. Including test of new help loader.

* BaseHelpLoader now inherits from ABC. Loaders now check if data version matches their version.

* Updated doc generator script. Updated yaml converter test.

* Fix bug in doc gen script.

* Optimize help conversion script. Added logic to convert all core modules.

* Removed unnecessary check.

* Script updates. Yaml, no longer wraps around. Handles duplicate keys. Handles incorect module names.

* Can delete files, bug in loading multiple modules due to duplicate keys in repo. See acs create.

* Added script to convert all help.py files in core. Removed help.yaml. Handles duplicate help entries. i.e acs create properly. Conversion test strict. Relevant help obj fields must be the same. TODO: extensions logic.

* Moved scripts to /scripts, added stubs for converting extensions. Style checks.

Removed unnecessary import_module statement.

* Added license header to convert_all.py

* Fixed bug in convert_all.py. Fixed bug in container/_help.py.

* Added logic to verify number of command _help.py files matches help.yaml files.

* Convert all help.yaml files. No known errors / discrepancies.

* Fixed tox env issue. Added logger.warning if core fails to import command_modules module.

* Updated convert_all.py can now rename all command _help.py to foo.py and vice versa

* Updated loader to better handle group help and to mimic knack description loading.

* Moved acs help to correct file. Deleted yaml files.

* Updated _get_yaml_help_for_nouns to check all possible loader paths for command group help. Minor updates to scripts.

* Added extension installation helpers to convert_all script. Remove unneccessary import in redis/_params.py

* Updated / Fixed test help loader.

* Address pylint

* Added --test to convert_all script.

* Aliased old example paramaeters with new params. Removed some todos.

pep8 fix.

* Updated authoring_help doc.

* Removed 'coming soon' comments and made other minor updates to authoring_help.md.
2019-02-07 17:38:02 -08:00
Yadi Reyes acbec9c2d2 Correcting an argument typo and renaming folder SQL VM (#8426)
* Renaming folder from sqlvirtualmachine to sqlvm

* Update HISTORY.rst

* Update doc_source_map.json

* Update setup.py

Updating to the correct cli name.
2019-02-05 15:41:33 -08:00
Travis Prescott 41dbeb5a28
Add recommended syntax for asserting errors. (#8367)
Closes #5155.
2019-01-28 17:46:13 -08:00
oflipman 7b4012a2ee Added Kusto (#8147)
* Added Kusto

* fixed history file

* fixed kusto readme

* Fixed tests

* fixed semantics

* removed pointless-string-statement

* Fixed comments
2019-01-24 08:55:56 -08:00
Travis Prescott ca8910210a
Update command guidelines. (#8301)
* Update command guidelines.

* Update command_guidelines.md
2019-01-18 16:28:41 -08:00
Stephen Tramer 5142fb1c94 Change references to point to new docs repo name. (#8241) 2019-01-14 12:54:00 -08:00
chlahav 306557c925 Introducing Azure Security Center module (#7917) 2019-01-06 10:43:13 -08:00
adewaleo 0812a708a7 Moved get_default_admin_username from vm to core (#7953)
* Moved get_default_admin_username from core to vm. Updated usages of getpass.getusername to use get_default_admin_username which catches getuser's exception.

* Patched call to getpass.getuser when creating docs.

* Pacify Pylint

* Pacify Pep8
2018-12-19 13:41:29 -08:00
John Eismeier ee40b43469 propose a couple if spelling fixes (#8059) 2018-12-13 15:40:45 -08:00
adewaleo d0c83a09f7 [doc] Fix doc gen issue. Command option help now properly loaded (#8026)
* Fix doc gen issue. Command option help now properly loaded.

* Removed version check for hotfix.
2018-12-10 13:02:14 -08:00
adewaleo 7664e2fb8e Fixed typo in argument_context example. (#7811) 2018-11-12 08:16:34 -08:00
Travis Prescott 64aac30b9e Update develop doc. (#7804) 2018-11-09 11:47:52 -08:00
Ankit Goyal 33beb948b8 Add the missing edit mapping to doc_source_map.json (#7710)
* Add the edit mapping for managedapp to doc_source_map.json

* Add the docs mapping for aks, functionapp, deployment and lock

* Change the key botservice to bot in doc edit mapping
2018-10-30 15:01:30 -07:00
wawon-msft 7ad2d44cd5 [HDInsight] Add initial support for HDInsight (#7407) 2018-10-03 10:12:00 -07:00
adewaleo 6d79bdcd61
Added documentation on arg_group kwarg. (#7394)
Added some explanation of what the arg_group argument kwarg does.
2018-09-24 10:37:54 -07:00
adewaleo 828690c473 [Doc] Update authoring_tests.md. (#7395)
Small updates to authoring_tests.md.
2018-09-24 09:46:18 -07:00
Johan Stenberg (MSFT) 7d21f0afc0 [Doc] Update configuring_your_machine.md (#7254)
It was hard to read which steps were required on each OS/platform due to font sizes/indentation.
2018-09-07 16:19:58 -07:00
Chenyang Liu 8da2948cd2 [SignalR] Initialize az signalr commands (#7174) 2018-08-29 09:38:34 -07:00
swagat mishra be58ce868a Initial release of botservice cli module (#7046)
* initial commit

* final changes for cli

* fixed flake errors and added license headers

* more errors

* add botservice to the document source map

* missed comma

* fixes for flake

* addressing comments.

* attempt to fix build

* fix build

* checked build locally. this should succeed!

* fix cfg file

* fix more errors from build

* add manifest file. other fixes

* remove azure namespace package from setup.cfg

* update manifest to have correct parts to json files. update Bot to bot in docs

* added bdist_wheel file

* add nspkg

* add scope separator. also add package_data to setup.py

* add provider scope string

* correct sms example help. fix other create docs

* disable test check as it throws an exception on ci. enable later

* another try

* make urlparse python version independent

* fixed logic around bot download. amended error message for failed msa app provisioning

* fix indendation

* more documentation fixes as per comments
2018-08-22 14:20:05 -07:00
Travis Prescott d8610bdd4f
Add deprecation to command authoring docs (#7057)
* Add deprecation to command authoring docs

* code review feedback
2018-08-16 08:08:44 -07:00
Justin Emgarten 24d7139e4f Add iotcentral commands (#6910)
Command line support for create/list/update/delete of IoT Central applications on http://aka.ms/iotcentral
2018-08-07 14:45:59 -07:00
Clemens Vasters b4ed5b84db Add Azure Relay CLI Command Module (#6695)
* Adding Azure Relay CLI support

Signed-off-by: Clemens Vasters <clemensv@microsoft.com>

* Azure Relay CLI commands and tests

Signed-off-by: Clemens Vasters <clemensv@microsoft.com>

* Addressing review items

* review changes

* remove ModExtensionSuppress import
2018-08-06 07:56:01 -07:00
Yang Yuan 1046e41593 Add Azure Search CLI Commands. (#6856) 2018-07-24 23:33:22 -07:00
Willie Xu de2fd2ebb4
fix doc to display show_command (#6860) 2018-07-20 17:08:58 -07:00
Willie Xu 663db88356
Update show commands to exit with code 3 upon a 404. (#6740)
* added custom flag for generic commands

* added custom_command arg to each generic cmd registering method

* add custom flag to resolve_operations hidden method

* check for 'client' as a client_arg_name

* converted all custom show commands

* added description loader for generic_show

* bug fix for 'cmd' in command signature

* added catch for sys.exit in test base

* convert show commands registered with 'command()'

* fixed failing tests since show will now fail on missing resources

* removed exception_handler=empty_on_404 for commands using generic_show

* fix style

* bump versions

* updated history

update with minor version bump

* billing history version bump

* updated generic show/wait to custom_command/command pattern

* pep8

style

* fixes

called wrong method

* addressed comments

* removed getter_type arg from wait/show

* added documentation for new command registration methods

* addressed more comments
2018-07-11 09:57:08 -07:00
Stephen Tramer 4b11d73a39 Remove explicit versioning informaton in help and supplementary materials. (#6762) 2018-07-10 14:01:20 -07:00
Willie Xu 5dad96d725
Generic show method for registering commands. (#6489)
* added generic show method

* use generic_show_command for storage account show as example

* style and history

* exit with 3 if show gives back 404

* added exit code docs

* pass args to factory

* disable too many lines pylint

* added tests for exit codes of storage account show

* consolidated code

* updated command guidelines for show

* update arm api-version
2018-07-03 11:11:03 -07:00
Travis Prescott b3d52ca0e6
Add Deprecation support (#6472)
* CLI deprecation mechanisms.

* Add encoding to help files. Partial fix #5954.

* Progress.

* Bump versions.

* Workaround for strange help issue.

* CI fixes.

* Update help generation script.

* Fixes for `az interactive`.

* Interactive work

* Bump versions.

* Code review feedback.

* Rebase conflict.

* Code review feedback.

* Code review feedback. Fix command group deletion.

* Bump versions.
2018-06-28 11:01:13 -07:00
Willie Xu fcff6b6367
added extension summaries to docs (#6610) 2018-06-19 15:03:29 -07:00
Willie Xu 1195474487
extensions must pass style checks (#6557) 2018-06-12 10:19:09 -07:00
Noel a5f8ff3d4b Add wheel version note for extension developers (#6448) 2018-05-29 16:55:42 -07:00
bulentelmaci f4ba5b01ed Command module for Microsoft.PolicyInsights (#6378) 2018-05-25 09:52:19 -07:00
Yugang Wang 3358901116
dev doc: call out 404 must be captured (#6390) 2018-05-18 15:47:42 -07:00
James Park 36b4b3d5b7 On-board Maps (#6303)
* Introduce LocationBasedServices command_module

* Introduce test cases for LocationBasedServices command_module

* [Refactor] Renamed lbs to locationbasedservices

* [Refactor] Renamed lbs to locationbasedservices

* [Legal] Add the Preview Terms agreement requirement

- Add the Preview Terms agreement requirement
- Remove location, custom_header, and raw parameters for account operations.

* [Test] Add more strict assertion rule for key validation.

* [Test] Add test for tags parameter

* [Test] Added an additional resource group.

* [Test] Init recordings

* [Pylint] Specify string format arguments as logging function parameters

* [Refactor] Update description in _help to match the general template

* [Refactor] General template mismatch fix for 'key'

* [Feature] Introduce search by ids

[Fix] --key-type, -t are now --key

* [Temporary] Throw an exception on 'account show' command, when nonexist

* [Test] 'account show' on non-existent account should not return empty.

* [Feature] Introduce update command

[Refactor] get_account command now specifically throws error only if it's a 404 response.

* [Test] Add test for update and search by id

[Output] Added recordings

* [Refactor] Rename generic client (sync with updated Swagger)

* [Refactor] Use default SDK's function

* [Refactor] Remove Preview Terms & docs in custom.py

* [Maps] Rename LocationBasedServices to Maps

* [Maps] Use Maps SDK from LocationBasedServices SDK

* [Maps] Update dependencies

* [Maps] Resolving build error (doc_source_map)

* [Maps] Resolving PR issues.

Removed validators.py. Will be adding checks in REST API specs and our backend routes to avoid redundancy.

Updated azure_bdist_wheel.py
Introduced minor fixes.

* [Maps] Revise help text

* [Maps] Adding back help docs for maps account

Misinterpreted PR comment.

* [Load Test] replace sql with servicefabric
2018-05-14 16:02:31 -07:00
Derek Bekoe a8f2ab5ce4
Add note of ref doc headings (#6337) 2018-05-11 21:21:52 -07:00
Troy Dai 63b18354c9
Add policy regarding live test (#6308)
Also clean up the markdown lint errors.
2018-05-08 16:25:45 -07:00
vchske 02982d3fe7 Initial support for Data Migration Service (#6159) 2018-04-30 12:43:18 -07:00
Ernest Wong 5d46afce36 Update configuring_your_machine.md and launch.json (#6205)
* Update configuring_your_machine.md

* More update

* Address PR comment
2018-04-25 15:21:08 -07:00
Lucas Marambio 0cf5f8b4d8 [AMS CLI] Added Azure Media Service CLI Module (#6044)
* [AMS] Add baseline for ams command module.

* [AMS] Add show & list commands.

* [AMS] Add list & show transform operations based on new AMS Rest v3 swagger definitions.

* [AMS] Add create command implementation.

* [AMS] Add tests for create & list operations.

* [AMS] Add storage account not found exception handler. Add _exception_handler separate file.

* [AMS] Add test recordings & rename 'create' test.

* [AMS] Add support for adding or removing secondary storage accounts for a media service account.

* [AMS] Fix storage group help documentation.

* [AMS] Add ams sp create command.

* [AMS] Add --xml flag to enable xml output format for sp create command.

* [AMS] Add custom list media services operation with optional resource group parameter.

* [AMS] Add AMS REST API v3 client within the command module.

* [AMS] Revert change in resource manager url.

* [AMS] Add idempotence support for ams sp create command.

* [AMS] Remove external dependency on ams module.

* [AMS] Fix .pyproj path reference.

* [AMS] Improve help documentation wording.

* [AMS] Add 'account' subgroup and add --account-name parameter where necessary.

* [AMS] Fix ams sp create help documentation.

* [AMS] Add test for ams sp create command.

* [AMS] Add --years parameter to sp create command.

* [AMS] Apply missing code style guidelines.

* [AMS] Add ams account delete operation.

* [AMS] Add list & show transfrom operations.

* [AMS] Refactor sp create logic.

* [AMS] Add _utils & refactor code.

* [AMS] Refactor custom operations.

* [AMS] Add transform create operation.

* [AMS] Add transform delete operation.

* [AMS] Add support for transform description and tags in transform create operation.

* [AMS] Add transform output add/remove & update operations.

* [AMS] Fix optional parameter assignation in transform update operation.

* [AMS] Add asset list & show operations.

* [AMS] Add asset create operation.

* [AMS] Add asset delete operation.

* [AMS] Improve error handling messages.

* [AMS] Fix client_factory sdk assignation & regenerate mediav3 client.

* [AMS] Add job create operation.

* [AMS] Add show & list job operations.

* [AMS] Add delete & cancel job operations.

* [AMS] Add tests for job operations.

* [AMS] Add list of output assets & files support for job create operation.

* [AMS] Update readme & add manifest.

* [AMS] Add asset get-sas-urls command. Add test.

* [AMS] Remove --location parameter from transform create operation.

* [AMS] Add name & resource id support for --storage-account parameter.

* [AMS] Update asset get-sas-urls command to return just the urls array.

* [AMS] Add --ids support for show, delete & list commands.

* [AMS] Rename operation `job cancel` to `job start`.

* [AMS] Add --delete to `job cancel`.

* [AMS] Use space-separated list for --output-asset-names & --files.

* [AMS] Create subgroups for http & asset job inputs.

* [AMS] Move sp & storage subgroups under account. Fix rbac api update issues.

* [AMS] Add multiple preset support for transform commands.

* [AMS] Fix preset_names support for transform create.

* [AMS] Set 0.30.0 azure-mgmt-authorization version for rbac.

* [AMS] Fix `az ams account sp create` code logic due to azure-mgmt-authorization api breaking changes.

* [AMS] Add ams account update command.

* [AMS] Add asset update command.

* [AMS] Update transform update to allow generic update & multiple preset names.

* [AMS] Add sp reset-credentials command & refactor sp.py.

* [AMS] Add exception handling for generic updates commands.

* [AMS] Update media sdk to 2018-03-30-preview.

* [AMS] Add streaming locator command.

* [AMS] Update transform operations based on new api.

* [AMS] Fix job start command.

* [AMS] Add streaming policy command & update streaming locator required parameters.

* [AMS] Add start-time & end-time parameters to streaming locator command.

* [AMS] Fix code style.

* [AMS] Add streaming locator get-paths command.

* [AMS] Fix account update command. Fix unit tests.

* [AMS] Add --role completer for account sp command.

* Fix sp create datetime error

* Remove 'ids' argument for 'list' commands

* Remove ContentAdaptiveMultipleBitrateMP4 preset

* Add transform update and transform output unit tests

* Update doc_source_map

* Add media sdk package references.

* Add operations namespace reference

* Remove streaming locator and policy update help commands

* Add streaming endpoint list/start/stop implementation

* Add streaming endpoint test

* Fix pylint warnings

* Fix some PR request changes:

- Add MediaServicesCommandLoader
- Remove unnecesary parameters help commands
- Don't use tuple syntax
- Register account_name in ams scope
- Remove 'within the resource group'
- Set account_name help text generic
- Apply account_name_arg_type
- Typo: built-in
- Remove Customer-supplied
- Remove exception factory

* Change release version

* Refactor changes:

- Rename `storage_account_id` to `validate_storage_account_id`
- Assume storage account id exists to build the storage_account_id.
- Set flag for `ams job cancel`
- Set flags for protocols in `ams streaming policy`
- Support multiple permissions for `ams asset get-sas-urls`

* Add validation to expiry time

* - Set `--content-policy-name`  succinct for `default_content_key_policy_name`
- Add more datetime validation

* Fix pep8 warnings

* Remove ad app for sp tests

* Remove 'parameters' from help

* Update ams setup version

* Revert number version upgrade

* Upgrade version to 0.1.0

* Add missing helps

* Update Swagger Files to commit 48f63653ca (diff-7bc850cdd18729c690d8be31d245e93b)

* Fix swagger files pep8 warnings

* Update help message for streaming endpoint start/stop commands

* Update references to target the latest SDK for Python version

* Update VS projects to include ams module

* Update get-sas-urls to support only one permission

* Update azure-mgmt-media dependency to target 1.0.0rc1

* Add video and audio analyzer presets

* Instance Audio analyzer preset

* Fix line too long on transform
2018-04-24 21:35:51 -07:00
Brendan Burns eaebfcfada Switch ldash to dash for better cut/paste (#5992) 2018-04-19 10:53:13 -07:00
Derek Bekoe 57f3c7ec0b
Update link to let the server handle redirect (+1 squashed commit) (#6054)
Squashed commits:
[0622536c0] Fix broken install link.

Replace dead Azure CLI install link with a working one that points to the official docs.
2018-04-09 10:53:35 -07:00
Laurent Mazuel 34717636c4 Fix azure_bdist_wheel for wheel 0.31.0 (#6007)
* Fix azure_bdist_wheel for wheel 0.31.0

* Add ChangeLog and version
2018-04-05 10:31:47 -07:00
Derek Bekoe d23e1a979d
Ref doc gen formatting improvements (#5956)
* Ref doc gen: Format user directory as ~ and use forward slashes

* Add CI step to verify ref doc gen

* Make script executable

* Preserve backslashes in example text
2018-03-30 10:32:41 -07:00
Derek Bekoe e4339a7dac
Preview extension notation & Simple default view for extension list-a… (#5882)
* Preview extension notation & Simple default view for extension list-available

- Show message for extensions marked as preview on -h

* Update HISTORY.rst

* Add more tests

* fix style
2018-03-22 15:50:13 -07:00
Travis Prescott e7ca2aefa4
Update authoring_commands.md (#5838)
* Update authoring_commands.md

Adds guidance for suppressing --ids on list commands and supporting "name or id" type parameters.

* Add generic update for PATCH-based endpoints
2018-03-19 11:43:16 -07:00
Derek Bekoe cc6d10d107 Update command guidelines (#5769)
* Update command guidelines

format

fix md

* Address feedback
2018-03-19 09:24:38 -07:00
Travis Prescott 299cdd0df4
Allow azdev to work with extensions. Remove --modules. Make --test positional. (#5829) 2018-03-16 10:08:13 -07:00
Ian Griffiths fe83ad1d61 [docs script] Prevent exit code of 1 on success (#5825) 2018-03-15 09:54:16 -07:00
Ajit Navasare aa9dfa2c7d On-board Event Hubs (#5522)
* EventHubs CLI cmdlets

* removed Encoding param a it has a default value

* review comments

* updated history with version

* --ids should not displayed for list commands fix

* updated list commands

* review updates and recordings

* extension suppression code and recordings

* lint fixes

* update - support for Name or ARM Id for storageAccount in EH creation/update

* removed default for sku in update cmd

* consumergroup list no ids fix and help text

* validator fix

* review comments updated

* Consumer-Group test recording

* lint fixes
2018-03-08 14:15:05 -08:00
Ajit Navasare 2dcf21c693 On-board Service Bus (#5499)
* review comments

* Servicebus on board

* Module Loading Performance fix

* review comments upodated

* updated history file with version

* review comments, extension supperssion code and recordings

* lint fixes

* updates- support name or ID for GEO DR patner_namespace

* removed default for sku in update

* review updates and help text fixes

* help fixes, capacity validator and recordings

* review comments and recordings
2018-03-08 13:11:44 -08:00
Derek Bekoe b56563f737
Extension suppression (#5739) 2018-03-06 14:10:13 -08:00
Travis Prescott aa0cc5b335
Small help_authoring changes (#5695)
Based on review with LocationBasedServices.
2018-03-05 08:42:40 -08:00
Travis Prescott 0de4f9f36f
Update authoring_tests.md
Replaced erroneous uses of JMESPathCheck with self.check.
2018-03-05 08:26:53 -08:00
Derek Bekoe fc3cb4a080
Autorest 3.0 support in the CLI (#5606)
* Autorest 3.0 support in CLI

* devtools 0.5.2 (+6 squashed commits)
Squashed commits:
[9d66e9746] fix style
[25a4c1afe] .md fix again
[9a00ed214] .md format fix
[0f4b3a86b] Use sdk_no_wait method
[bb23ca411] Update doc
[90e5d1217] Update docs (+2 squashed commits)
Squashed commits:
[1e987445] change
[70809eb6] Change to supports_no_wait

* Address recent feedback
2018-02-28 15:59:42 -08:00
Derek Bekoe c74a4bc1cb
Ref doc gen script supports sphinx==1.6.7 (#5607)
1.7 was released a few days ago and the script doesn't support that version as some imports were removed.
2018-02-27 13:26:59 -08:00
Derek Bekoe c5f8e0cf2d
Escape backslashes in ref doc gen (#5672) 2018-02-26 18:30:10 -08:00
Travis Prescott 789d76a60b Command Authoring/Testing Docs Update (#5508) 2018-02-08 09:33:23 -08:00
Matt Boersma 418fc028db Correct usage of "delimiter-separated" in help strings, docs, and comments (#5472)
* [core]: correct usage of "delimiter-separated" in help strings

* [doc/]: correct usage of "delimiter-separated" in command authoring doc

* [ACR]: correct usage of "delimiter-separated" in help strings

* [tools/]: correct usage of "delimiter-separated" in help strings

* [Advisor]: correct usage of "delimiter-separated" in help strings

* [AKS]: correct usage of "delimiter-separated" in code comment

* [AppService]: correct usage of "delimiter-separated" in help strings

* [Batch]: correct usage of "delimiter-separated" in help strings

* [ARM]: correct usage of "delimiter-separated" in help string

* [CDN]: correct usage of "delimiter-separated" in help strings

* [configure]: correct usage of "delimiter-separated" in help strings

* [ACI]: correct usage of "delimiter-separated" in help strings

* [CosmosDB]: correct usage of "delimiter-separated" in help strings

* [EventGrid]: correct usage of "delimiter-separated" in help strings

* [IoT]: correct usage of "delimiter-separated" in help strings

* [KeyVault]: correct usage of "delimiter-separated" in help strings

* [DevTestLabs]: correct usage of "delimiter-separated" in help strings

* [Monitor]: correct usage of "delimiter-separated" in help strings

* [Network]: correct usage of "delimiter-separated" in help strings

* [rdbms]: correct usage of "delimiter-separated" in help string

* [VM]: correct usage of "delimiter-separated" in help strings

* [resource]: correct usage of "delimiter-separated" in help strings

* [role]: correct usage of "delimiter-separated" in help strings

* [ServiceFabric: correct usage of "delimiter-separated" in help strings

* [Storage]: correct usage of "delimiter-separated" in help strings

* Update latest versions in setup.py to match HISTORY.rst

* Bump versions of three modules that were missed
2018-02-05 13:26:46 -08:00
Travis Prescott 0820976e68
Update links in README.md to point to dev branch (#5327) 2018-01-17 14:28:13 -08:00
Travis Prescott 2a4ea252ad
Update Command Authoring documentation for Knack-based core (#5297)
* Update command module (1st draft)

* Update README

* Remove `recording_vcr_tests.md`

* Remove `scenario_base_tests.md`

* Combine old test files into one.

* Update authoring_tests.md

* Add images.

* Progress on help rewrite.

* Update authoring_commands.md

* More progress.

* More changes.

* Final touches.

* Code review feedback.

* Review feedback.
2018-01-17 10:40:53 -08:00
Travis Prescott d24a0102d7
Add documentation for local installed SDK into venv (#5094) (#5203)
* Add documentation for local installed SDK into venv

* Minor wording change
2018-01-04 15:14:34 -08:00
Derek Bekoe 8a9d1a73ff
Modify ref doc script for knack conversion (#5113) 2017-12-20 10:46:01 -08:00
Derek Bekoe d314bd41e5
Convert extension example to knack (#5093) 2017-12-13 14:22:46 -08:00
Troy Dai 2efad48ce1
Exclude interactive's _help.py from doc map 2017-11-29 10:39:40 -08:00
Travis Prescott fe81db993b
Dev Branch rebase to Knack (#4965)
* sp reset-credentials from dev

* rebase polish rbac error message

* rebase role assignment list: show default assignments for classic administrators

* Modified AzureUSGov Endpoint to .US (#4877)

* Modified AzureUSGov Endpoint to .US

* Updated History.RST to include USGovAADEndPoint Change

* Updated Setup.py to match HISTORY.RST

* Reduced previous change in HISTORY.RST to a single line

* HISTORY.rst merge with latest commit

* HISTORY.RST Syntax Correction

* webapp/functionapp: ensure list/show display correct set of apps (#4891)

* Fix authoring doc typo (#4903)

* Changing CLI for azure-consumption reflecting the new api-version (#4900)

* Changing CLI for azure-consumption reflecting the new api-version

* Modifying Setup.py and history.rst

* Implementing review comments

* Rebase remove component module

* [acr] typo fix in help (#4904)

* [acr] typo fix in help

* [acr] bump version and add history line item

* Rebase of support raw format on resource show

* Web: add node appsetting when runtime is not specified (#4907)

* webapp: fix a bug in the cert name generation (#4909)

* Fix container module default ports (#4950)

* fix default ports

* bump up version

* update history

* Advisor command module (#4898)

* Initial change to add Advisor module.

* Add list recommendations command.

* More commands.

* More commands.

* Pylint fixes and adding a test.

* More updates.

* More updates.

* Fixing precheck errors.

* Fixing more precheck errors.

* Initial change to add Advisor module.

* Add list recommendations command.

* More commands.

* More commands.

* Pylint fixes and adding a test.

* More updates.

* More updates.

* Fixing precheck errors.

* Fixing more precheck errors.

* Adding missing manifest.

* Fixes for test failures.

* Addressing review comments and add unit tests.

* More fixes.

* Address CI failures.

* Extra space.

* One more fix.

* rebase sql usage commands.

* Add advisor to default install (#4956)

* Add consumption module to code owners (#4906)

* Added sql server conn-policy show/update commands (#4888)

* Update proj file
2017-11-27 10:38:03 -08:00
Derek Bekoe 341f7795af
Update knack dep to 0.3.0 (#4946)
Squashed commits:
[9ba81a9] Handle confirmation in knack also (+2 squashed commits)
Squashed commits:
[b548356] Some fixes
[c879395] Some more stuff (+1 squashed commit)
Squashed commits:
[0a619f2] Update knack dep to 0.3.0 and pin it

- Remove `self.module_name` as no longer needed in knack 0.3.0
2017-11-21 15:22:40 -08:00
Derek Bekoe 8346147d0d Cumulative Knack update 2017-11-13 11:42:14 -08:00
hyo f061602338 Reserved Instance cli public PR (#4838) 2017-11-07 20:30:29 -08:00
Willie Xu 4eb0e335a7
'clone root' for consistency (#4845) 2017-11-07 12:41:37 -08:00
Willie Xu 46438ac750 Updated configuring_your_machine doc to not reference scripts by path (#4844) 2017-11-07 10:33:43 -08:00
Derek Bekoe cd96802027
Extensions: support adding by name and list-available (#4788)
* Extensions: support adding by name and list-available

- Update extension publishing readme with new info
- Implement 'az extension list-available'
- Support adding an extension by name
- Define logic for extension update
- Support --index hidden param
- Explicitly only support non platform specific whls
- Add tests

* Minor change
2017-11-01 09:52:27 -07:00
Travis Prescott f0e3e22ac3
Update command authoring guidance (#4784)
* Add table and completer guidance. Update --ids guidance.

* Code review feedback.

* Code review feedback.
2017-10-31 12:21:52 -07:00
Derek Bekoe 964d578c4a
Remove example metadata for extension (#4785) 2017-10-30 15:42:33 -07:00
Willie Xu 53eb065f82 allow arbitrary number of levels for `--ids` (#4704)
* Added new id_part values where they are used in CLI

Implemented multiple levels for --ids in CLI

* use msrestazure resource tools

* updated docs for --ids values

* import msrestazure inside methods for azure.cli.core, removed resource_id test from cli as it is part of msrestazure

* msrestazure.tools
2017-10-26 10:56:46 -07:00
Derek Bekoe 28c6806f17 Change doc to no longer reference 'unreleased' (#4721) 2017-10-19 14:27:43 -07:00
Derek Bekoe af881c5690 Remove +dev from versions (#4684) 2017-10-17 10:51:31 -07:00
Derek Bekoe 5faef38350 Remove GitHub bot code (#4687) 2017-10-17 10:22:07 -07:00
Derek Bekoe bddb6737b2 Remove azure-cli-taskhelp (#4683)
* Remove azure-cli-taskhelp

It's no longer included as part of the CLI and hasn't for several months.

* Now fix CI script

* Fix doc source map
2017-10-16 13:45:03 -07:00
AlexanderYukhanov 448f420a10 BatchAI. Initial drop of azure-cli-batchai. (#4600)
* BatchAI. Initial drop of azure-cli-batchai.

* BatchAI. Getting rid of legacy "learning" term.

The old service name "Batch AI Learning" has been changed to "Batch AI",
so we need to update all environment variables names.

* BatchAI. Added scenario for configless cluster and nfs creation

* BatchAI. Update cluster resize and cluster auto-scale.

After adding payload-flattening-threshold=2, cluster.update signature
changed. Updating affected commands.
2017-10-04 10:44:14 -07:00
Matt Boersma 35f7481a7a Fix paths to scripts in developer doc (#4534) 2017-09-25 11:16:38 -07:00
Travis Prescott 4d3f35a040 Create onboarding_guide.rst (#4494) 2017-09-25 11:13:35 -07:00
Derek Bekoe bfb66691a0 Update 'Modify Change Log' instructions for clarity (#4463) 2017-09-18 14:07:26 -07:00
samedder 29d5ad54ec Removing duplicate `sf` commands that exist in Service Fabric CLI (#4458)
* Removing SF commands

* Removing doc

* Fixing helps
2017-09-18 13:30:41 -07:00
georgechenchao efcc293b21 [Docs CI] Add configurations for mooncake (#4460)
* Add logic for mooncake

* Update the batch file label

* Test for generating xml for all profiles

* Just use profile latest to generate xml files
2017-09-18 11:18:12 -07:00
mhaslett b3ed7be445 Adding draft recovery services module (#3658)
* Adding recovery services module

list container working

refactoring, added methods

list and show item

enable protection (part)

Disable protection just started

Enable and disable protection

Removing recoveryservices (duplicate) module

Including backup command module

Removing unwanted files

Addressing review comments.

* Adding backup tests

Fixed json load from input param

Extend scenario in test

Pylint fixes

cli for backup

cli for backup

Updated rs backup nuget version

* Updating backup help

Took review comments

Pylint changes

Fixed formatting issue in help file

* Implementing flake8 and pylint suggestions for backup

Updated help

Limit every other workload except 'AzureVM' by giving a proper error message

Fixed some bugs

* bugfixes

* Updated test recordings

* Adding Instant File Recovery for Windows VM in backup

Fixing case sensitive bugs

Fixing case sensitive bugs

Fixing bug - found inconsistencies in case of unique name sent by service.

* Implementing File Restore for Linux VMs in backup

urllib python 2 and 3 compatibility

enforcing password in ILR

Help messages and ilr test

ilr

Flake8 passing

Add manifest

table transformers and six.moves.

six.moves changes

Disabling some pylint warnings

item list bug fix

item list bug fix

pylint and flake8 passed

Deleting unwanted files

newline bugfix

Fixing the unicode issue

fixed password bug with linux scripts for ILR

Added table transformers

vault test case recording

Added cleanup in preparers

Removing randomization in dict iteration.

fixing linux script download bug

Adding custom client request header

Adding test recordings

updated policy recording

policy test recording

item test recording

protection test recording

backup restore test recording

backup restore test recording

test restore recording

test rp recording

test job recording

* Using self.assertxx series in backup test

Removing unwanted files

pylint failure fix

Adding wheel.py and setup.cfg files

Adding draft recovery services module

list container working

list and show item

enable protection (part)

Enable and disable protection

Removing recoveryservices (duplicate) module

Including backup command module

Removing unwanted files

Adding test to backup

Fixed json load from input param

Extend scenario in test

cli for backup

Updated help

Fixed some bugs

bugfixes

ilr

Flake8 passing

Add manifest

item list bug fix

Deleting unwanted files

Removing unwanted files

Updating test recordings after sync with upstream

post rebase fixes - all backup tests passing

* post build checks passing

* Fixed parameter names and command tree

* Update version to 'unreleased'

* item --ids

* backup restore test working

* Enable IDs.

* policy and items tests passing --ids change

* protection named params change - protection test passing + pylint and flake8

* job named params change - pylint and flake8 passing

* rp named params change. pylint and flake8 passing.

* restore param names change. flake8 and pylint passed.

* Fixing bugs in restore and recoverypoint

* fixing item test bug

* container and policy tests passing.

* test bug fix + recordings

* backup restore and rp test recordings

* fix bug in restore test + pylint and flake8 passing.

* disabling --ids

* Table formatting for job and rp

* restore test recording

* Enhancements to user experience: added warning and help text in job and JSON related commands.

* Changes:
1. Ignored container_type and item_type
2. VM and Storage Account - Name or ID
3. restore-disks and restore-files
2017-09-15 14:06:29 -07:00
Derek Bekoe b855696857 Minor extension fix: Use CLI Core version instead (#4405)
* Can't get CLI version so use core version

* Fix tests

* Fix tests for realz
2017-09-08 14:37:29 -07:00
Derek Bekoe 8cfae0c561 Add extension feature (#4167)
* Add extension feature

- deprecate ‘az component’ message
- add tests
- add documentation

* Fix extra comma in setup.py file

* Add version checking for extensions (with tests)

* Address code review feedback

* Address code review comments and add back in license.

* Address more code review feedback

* Remove confirm param

* Print warning messages on extension commands and help

* Remove EXT_TYPE constant and just have 'whl' twice

* Show appropriate message if unable to get extension name.

* Centralize warning message

* Only get the first part of the module path to get the module name

* Print extension directory in 'az --version'

* Add logging to show extension directory in debug
2017-09-08 11:30:02 -07:00
QingChenmsft 8d24b5a405 sf ARM cli (#4132)
* service fabric arm cli

* fix
2017-08-28 10:49:18 -07:00
georgechenchao bacaf80c2c [Docs CI] Fix the bug in the batch file make.bat for generating xml files with different profiles (#4290) 2017-08-24 11:06:16 -07:00
Matt Boersma 1fd2fa60c0 [Docs] update developer commands for running linters and tests (#4293)
Thanks for the contribution!
2017-08-22 12:47:41 -07:00
georgechenchao efae17db52 [Docs CI] Fix the command group duplication error (#4219) 2017-08-15 08:28:56 -07:00
georgechenchao f84451e4ae Update CI for Azure CLI (#4198)
* Update CI for Azure CLI

* Fix the command sequence error when generating ind.xml file

* Fix the new line warning

* Fix the new line warning
2017-08-14 13:41:38 -07:00
Derek Bekoe 1d67790540 Update docs for example module (#4196) 2017-08-11 09:45:47 -07:00
J. Kalyana Sundaram 4f6eb33c6d Azure EventGrid CLI (#4190)
* First version of Azure EventGrid CLI

* Added azure_bdist_wheel.py, setup.cfg, and manifest.in files.

* Added license headers in 34 files, updated an example in the help file to include additional info.

* Aliased --is-subject-case-sensitive to --subject-case-sensitive.
2017-08-10 14:22:41 -07:00
Chen b3c613ff92 Fix container module readme style (#4088) 2017-07-27 17:12:49 -07:00
Derek Bekoe ebe252c72c Ref. docs: Skip invalid commands when generating help (#3957) 2017-07-05 10:14:59 -07:00
Matt Boersma cc633fb888 Fix path to tab-completion script in developer docs (#3908) 2017-06-28 11:21:23 -07:00
Troy Dai 3a74c95462
Replace dependencies of LiveTest with LiveScenarioTest
After moving to the devtools, the original LiveTest stop working because
of the missing cmd function. The newly created LiveScenarioTest will
take over its place. The LiveTest will be eventually removed from the
devtools package since the live_only decorator is sufficent.
2017-06-21 22:52:54 -07:00
Derek Bekoe 0ffb6b2c62 📝 Add profile authoring to help system docs (#3777) 2017-06-19 20:29:01 -07:00
Ian McCowan ce2cb0e0b8 📝 Update document of scenario base tests (#3753) 2017-06-19 10:34:33 -07:00
Troy Dai cdad00772f
Update const values in testsdk 2017-06-17 19:56:40 -07:00
Troy Dai ec9f58a902 Update document: recording_vcr_tests.md (#3652) 2017-06-12 07:25:19 -07:00
Suhail Dawood 286191cee7 Fix path for virtual environment activation (#3642) 2017-06-09 10:00:59 -07:00
Panda Wang 40c111b3da CLI commands for azure billing and consumption (#3402) 2017-05-25 14:03:24 -07:00
Derek Bekoe c8de8e1065 Fix doc source map and add CI task to verify (#3361) 2017-05-17 10:52:53 -07:00
Derek Bekoe 85d95913a0 Remove references to CLI being in preview (#3273) 2017-05-09 12:03:04 -07:00
Mohammad Derakhshani e587f23906 [DocDB] Package rename (#3267)
* folder restructured

 * azure-cli-documentdb/azure/cli/command_modules/documentdb changed to
   azure-cli-cosmosdb/azure/cli/command_modules/cosmosdb/

* documentdb renamed

* documentdb blacklisted, rename added

* review comments addressed

* pylint fixed, help fixed

* doc_source_map updated

* fixed a style issue

* fixed test
2017-05-09 09:57:02 -07:00
Derek Bekoe 3e18e4a3df Add link to blog in ‘az interactive —help’ (#3252) 2017-05-08 15:31:00 -07:00
Sarthak Narang 890155527a Removing az container module (#3156)
* Removing az container module

* Reverting formatting change.
2017-05-03 15:38:27 -07:00
Qinen.Zhu 35ddb1d088 Fix typo with ref doc generation script (#2930) 2017-04-19 18:29:48 -07:00
Qinen.Zhu 04d0dbd634 Fix build error (#2916) 2017-04-19 08:37:31 -07:00
Payam Hekmat 92ffc68528 Fix Markdown formatting in a couple of doc files (#2822)
* Fix markdown formatting in `configuring_your_machine.md`

* Fix markdown formatting in `recording_vcr_tests`
2017-04-11 09:54:33 -07:00
Derek Bekoe 8dda58ca3c Add clearer guidelines on modifying changelog (#2739)
* Add clearer guidelines on modifying changelog

* A few smaller changes

* another small format change

* Code review changes
2017-04-05 11:54:22 -07:00
Derek Bekoe 0522acaefe Fix doc references to azure.cli.commands (#2740)
* Fix doc references to azure.cli.commands

This module has moved to azure.cli.core.commands

* Fix PyLint
2017-04-05 11:53:42 -07:00
Derek Bekoe ec2149e88b Update test docs for running individual test and all tests in mod (#2763)
* Update test docs for running individual test and all tests in mod

* Made feedback changes
2017-04-04 16:45:38 -07:00
Troy Dai 458176df90 Add scenario tests documentation (#2555) 2017-03-20 09:17:17 -07:00
Derek Bekoe 6de1d03603 Update example command module template (#2501)
* Update example command module template

Now, it can be installed directly and works with latest code in master.
‘pip install -e .’

* Address code review feedback
2017-03-15 11:28:30 -07:00
Travis Prescott d614a1a734 Update module authoring readme. (#2043)
Based on user feedback, added links to supporting documentation necessary for authoring command modules (the actual commands themselves, help and tests)
2017-02-10 16:05:30 -08:00
Derek Bekoe b6d037f2d4 Handle cloud switching in more user friendly way + remove context (#1989)
* Improvements to context/cloud commands

- Log info on the current active cloud to --debug.
- Add known clouds to config file as well.
- Show logger messages when switching cloud.
- Handle cloud switching in more user friendly way.
- Set cloud with CLI commands or AZURE_CLOUD_NAME env var.
- New commands ’az cloud set —name <NAME>’ and `az cloud update`
- Remove context.
- Remove configuration support for each context.
- Remove context options from ‘az configure’.
- Remove azure-cli-context command module.
- Blacklist the ‘context’ module to prevent it from being loaded.

* - Remove --default-subscription
- Account commands should be aware of current cloud

* Minor changes

- change method name
- catch additional exception

* Change error to warning
2017-02-08 15:30:07 -08:00
Allen Clark 4de83705db Update authoring_help.md (#1947) 2017-02-01 08:30:22 -08:00
erich-wang 40439f1e50 fix build error and update doc source map (#1831)
* fix build error and update doc source map

* update doc build script to support git info at command level
2017-01-24 08:43:10 -08:00
Derek Bekoe 8e1d2aa2e1 Add Python 3.6 to CI (#1821)
* Add Python 3.6 to CI

* Workaround for https://github.com/kevin1024/vcrpy/issues/293
- Do not run pylint on 3.6 as pylint doesn’t support 3.6 yet
- Add Python 3.6 to package classifiers
2017-01-23 19:24:10 -08:00
Derek Bekoe f2746798a8 Support Force & Confirm (#1783)
- When registering a command, add `confirmation=True` to enable user confirmation. Also supports a string message or callable.
- Add a —force flag for commands that support this feature.
- Integrated with configuration system so it can be enabled/disabled by setting AZURE_CORE_DISABLE_CONFIRM_PROMPT

Added for the following commands:
az group delete
az vm delete
az network dns zone delete
2017-01-20 11:34:51 -08:00
Derek Bekoe fd8e6d46d5 Packaged release & Component release docs/setup (#1721)
* Packaged release & Component release docs/setup

- Provide instructions on installing with brew
- Update docs on Homebrew packaging (how to update etc.)
- Remove the azure-cli-2 formula here as it’s in the homebrew repo now
- New packaged Docker image that builds from source and apply patches
- New Debian (apt-get) build instructions that build from source and apply patches
- Releasing components instructions
- Documentation on creating packaged releases
- Debian build automation

* Debian build script uses tmp directories so it is idempotent
2017-01-13 10:36:31 -08:00
Derek Bekoe 3a683c9a56 Remove redundant requirements.txt files (#1700)
Dependencies are defined in the setup.py file for each command module. That’s all that’s required.

The requirements.txt files in the command modules are never used.
- They are not required for dev_setup
- They do not get packaged when a command module is built
- Some of them hadn’t been updated for some time.
2017-01-10 10:56:18 -08:00
Vishrut Shah f8e0d10369 [Docs] Correcting unittest location in docs (#1642) 2017-01-04 15:46:07 -08:00
Derek Bekoe 4d1abf122d [Docs] Update and improve readability of install instructions (#1584)
* Update and improve readability of install instructions

- Create common install issues doc
- Move developer set up
- Create Linux install prereq doc
- Additional component instructions
- Nightly instructions on README

- Remove pypi version shield
The PyPI version of azure-cli is not significant.

* lowercase install troubleshooting
2016-12-15 16:13:22 -08:00
Derek Bekoe 5160c2bb4a Update preview install guide (#1556)
- sudo no longer required as global install not default
2016-12-14 15:29:26 -08:00
Yugang Wang 362e098288 update readme text which still uses 'az resource group' (#1525) 2016-12-09 13:13:10 -08:00
Allen Clark 01b0e4ae6b More doc quality (#1493)
* admin cmd prompt

Use the admin cmd prompt in to install the CLI (pip) on Windows

* punctuation

* Revert "admin cmd prompt"

This reverts commit ac57b1415a8d682ff223b00aa064bd92fdccff0c.

* Add plan group

* Web app group and command descriptions

* component group and command summaries

* Fix appservice plan group

* Consistent use of "Commands to ..." for groups

* Use long-summary

* Fix long-summary

* Fix caps & punctuation in login examples.

* language

* Fix account command summaries

* parens

* clarify that these are storage contexts

* group summaries

* typo

* Revert "clarify that these are storage contexts"

This reverts commit c82edd4f29c10e9d6639b6da87db6c35f6e84dbe.

* Fix iot device group

* Update _help.py

* redis commands

* Fix

* authoring help

* Doc quality

* missing command help

* availabilty set create/update

* az account

* vm wait

* vm extension list

* Fix quote

* az acs

* Fix bad quote

* Fix acs commands

* more bad quotes

* single quote
2016-12-08 12:56:09 -08:00
Travis Prescott 9232662f21 Add `--ids` to the command authoring guide (#1376)
* Add `--ids` to the command authoring guide

* Code review feedback.
2016-11-19 22:12:28 -08:00
Derek Bekoe 4fde5fdca2 Fix Document CI error due to command params not being loaded. (#1334)
- Fix error running azhelpgen.py
-- To load the full command table with all parameter values, we iterate over the command table running -h on each command.
2016-11-15 15:26:37 -08:00
Troy Dai 487f0196fc Update license header comments block for PEP8 (#1333)
* Remove UTF-8 BOM

* Update comment blocks for license headers
2016-11-15 14:24:07 -08:00
Derek Bekoe d7dec55bea Faster command module loading & tab completion performance (#1059)
* Faster command module loading & tab completion performance

* Fix tests

* Generic update support
2016-11-09 14:28:33 -08:00
Yugang Wang 5d72655000 webapp: rename component from webapp to appservice (#1260) 2016-11-07 15:09:03 -08:00
Travis Prescott fd5cfec77b Add generic update guidance to command authoring guide (#1230) 2016-11-04 08:15:13 -07:00
Travis Prescott ec61c50255 Change generated.py files to commands.py (#1226)
* Change generated references to commands.

* Update help docs.
2016-11-03 16:11:35 -07:00
Troy Dai 69e6628e0f Update VS Code debugging setting and instructions (#1208)
* Update VS Code debugging setting and instructions

* Update debug_in_vs_code.md

Fix typo in doc
2016-11-02 13:39:20 -07:00
Derek Bekoe 507d4a188a Shorten '--additional-component' param to '--add' for 'az component update' command (#1204) 2016-11-02 09:21:38 -07:00
Sarthak Narang 1325f4aa12 Renaming VSTS module to Container (#1193) *breaking change*
BC: Changing devops module to vsts module.
2016-11-01 17:00:52 -07:00
Travis Prescott f83233dbc3 [Test] Update test authoring guidelines (#1199)
Update guidelines for VCR test authoring.
2016-11-01 12:25:29 -07:00
Jun Han 0baa84e160 [Document CI] Fix failure of doc generation due to devops module renamed to vsts (#1167)
* [Document CI]fix devops module renamed to vsts

* Fix path

* Revert ci test
2016-10-26 08:42:23 -07:00
erich-wang 8a78bb1085 add new groups in doc source map (#1120) 2016-10-24 09:39:21 -07:00
Jason R. Shaver 3ecdea02f1 Update preview_install_guide.md 2016-10-17 11:27:56 -07:00
Jason R. Shaver 192241b017 Delete preview_instructions.md (#1083) 2016-10-13 16:27:11 -07:00
Derek Bekoe 71b6424753 Move VCR test to test_utils package (#1026)
* Move VCR test to test_utils package

* removing offending issue?

* Reintroduce the tests that causes issues before
2016-10-05 12:06:21 -07:00
Derek Bekoe a3dc53e413 Use Azure Blob Storage for nightly builds (#1017)
* Nightly build script that publishes to storage account for high availability + README

* Change doc to say 'az component list' to list components
2016-10-04 10:37:47 -07:00
Jun Han 003ca5249a Fix #1022: Document CI is Broken (#1023)
* test

* fix

* fix2

* fix3

* Revert back appveyor.yml
2016-10-03 10:10:48 -07:00
Jason R. Shaver a7c371e9fe First draft of xplat migration guide (#960)
* First draft of xplat migration guide
2016-09-29 10:26:46 -07:00
Derek Bekoe da813edf98 Update docs that have stale information (#1004)
- Install links have changed
- AZURE_CLI_PRIVATE_PYPI_URL and AZURE_CLI_PRIVATE_PYPI_HOST no longer used
- 'az component install' -> 'az component update'
2016-09-27 15:29:51 -07:00
Derek Bekoe de8744a9bf Doc on how to package for Debian (#991) 2016-09-27 14:01:54 -07:00
Derek Bekoe f7876934fc Debian packaging (apt-get) with updated README with instructions (#979)
* Debian directories for Debian (apt-get) package & update README

- Packaging instructions (how to create the .deb file) will come later.

* Change link to the key
2016-09-26 10:50:15 -07:00
Jason R. Shaver 2789412bc1 Added animation to readme (#967) 2016-09-23 13:40:41 -07:00
Jason R. Shaver 951895d1af Added Azure to Az command table (#955)
* Added Azure to Az command table
2016-09-23 09:37:48 -07:00
erich-wang 42319b9c20 sync help doc generation with core code (#950)
* sync help doc generation with core code

* update group name from webapp to appservice
2016-09-22 13:13:35 -07:00
Derek Bekoe 278bfb07d9 Update versions of packages for release (#929)
* Clean up setup.py files and descriptions, Update versions of packages for release

* Version 0.1.0b4 for all modules
2016-09-20 16:31:48 -07:00
Derek Bekoe 617c5a2ce0 Reference correct az.completion.sh script to enable tab completion (#876) 2016-09-14 09:04:43 -07:00
Jun Han eb04256ea5 [Document CI] Fix pip install and namespace change (#847)
* [Document CI] Fix pip install

* [Document CI] Fix namespace change
2016-09-09 09:54:19 -07:00
Derek Bekoe f6b59ec862 Create azure-cli-core package that command modules depend on (#828)
This is a breaking change to command modules and how they import cli modules!
- Don't depend on azure.cli in telemetry code
- Don't depend on azure.cli for version
- Move ACCOUNT, CONFIG and SESSION to azure.cli.core (+3 squashed commits)
Squashed commits:
- Fix dev setup after azure-cli-core as module dep.
- Install command modules after core is installed (+7 squashed commits)
- Command modules should depend on azure-cli-core
- Fix install script to work with new packages
- Nightly build script modifications
- Load module and fallback to all if doesn't work
- Fix Dockerfile
- No modules found, no problem
- Modify package_verify to work with new package structure
- modify .travis.yml file for CI builds to work again
- fix dev_setup
- import modules differently
- Move stuff
2016-09-08 17:05:22 -07:00
erich-wang e457c17cdd should not use str.decode because doc CI uses Python 3 (#841) 2016-09-08 10:04:10 -07:00
Burt Bielicki 5cec7c917d Add group ordering system so Global Arguments is at the bottom again. (#832)
Unblock doc generation script so --ids show in the output and unicode characters don't fail the sphinx build.
2016-09-07 16:07:11 -07:00
erich-wang 97559a1cf6 add metadata commitid for doc help files (#822) 2016-09-06 12:13:13 -07:00
erich-wang c1b76cf983 add help doc mapping for iot module (#805) 2016-09-01 08:18:55 -07:00
Derek Bekoe a7a823496f Fixes #772 (#779) 2016-08-29 12:33:36 -07:00
Derek Bekoe 154c701c95 Change simple_output_query to be table_transformer (#771) 2016-08-26 16:06:29 -07:00
erich-wang e7e8ce74b7 add document source for each group (#712)
* add document source for each group

* add doc source using dedicated doc source map
2016-08-18 15:40:15 -07:00
Travis Prescott dcb3de8b48 Update test authoring help doc. (#698) 2016-08-16 09:20:16 -07:00
Jason R. Shaver dde4dc008a Made Docker WIP components more clear 2016-08-09 11:17:44 -07:00
Burt Bielicki e760485e33 Help authoring doc with examples and recommended authoring guidelines. (#600) 2016-08-03 16:16:27 -07:00
Derek Bekoe 9d24dcc86d Remove references to InsecurePlatformWarning as fixed in PR #541 (#606) 2016-08-03 13:57:46 -07:00
Jason R. Shaver 2dd70ee442 Updated install with with new build 2016-08-03 12:51:52 -07:00
Jason R. Shaver 9258a86c00 Updated install guide (#557)
* Updated install guide

* Updated version number
2016-07-28 16:08:24 -07:00
Derek Bekoe a2b19e8624 Verify license headers (and share code with add license headers) (#552)
* Verify license headers (and share code with add license headers)

* Add missing license headers
2016-07-28 10:15:46 -07:00
erich-wang c7b9eb6b07 add sphinx extension to support markups: cligroup, clicommand, cliarg, cliexample (#550) 2016-07-27 16:29:00 -07:00
Burt Bielicki 157db18c19 Add tagging to VM and WebApp, refactor to eliminate nested templates (#538)
* Add tagging to VM and WebApp, refactor to eliminate nested templates

* Add copyright headers to generated files.  Also add a script that can auto-add the copyright to all *.py files.  Update the generate smart create script to add headers so we don't have to run the auto-add script after regenerating.
2016-07-21 15:30:55 -07:00
Derek Bekoe 5173fd1167 Add LICENSES and update README (#537)
* Fix up README & add LICENSE

* move our scripts

* Add license headers

* modify setup.py with license in classifiers

* Change license from TBD to MIT

* Use contoso.com instead of test.com for url used in test and modify preview instructions

* Add license header to new file recently added
2016-07-21 11:26:41 -07:00
Burt Bielicki a7493b0597 Use Sphinx to generate help output file (#524) 2016-07-18 12:19:04 -07:00
Derek Bekoe 76e2886823 Move Docker setup instructions from configuring_your_machine.md to RE… (#509)
* Move Docker setup instructions from configuring_your_machine.md to README.rst

* Add source to command to activate the env
2016-07-07 10:56:56 -07:00
Jason R. Shaver ff1d7e6b7d Updated installation instructions (rebased) (#500)
* Update README.rst

* Rename preview_curl_install_examples.md to preview_install_guide.md

* Update preview_install_guide.md
2016-07-05 16:11:58 -07:00
Derek Bekoe cf0e43d090 Add 'feedback' module to install script & update docs (#478) 2016-07-05 10:13:46 -07:00
Derek Bekoe e1d9aef522 Command Module Authoring docs (#463)
* Command Module Authoring docs

* Include the structure on the command modules in the main readme file
2016-07-05 10:12:18 -07:00
Derek Bekoe 0c4091b8f1 Include new command module package in Windows install doc (#444) 2016-06-22 16:36:40 -07:00
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -07:00
Johan Stenberg (MSFT) 5089720daa Merge pull request #393 from JasonRShaver/patch-2
Updated script with current defaults
2016-06-09 16:46:44 -07:00
Jason R. Shaver bcdfa9c841 Updated script with current defaults 2016-06-09 16:31:33 -07:00
Jason R. Shaver d6bb638903 Update instructions with BASH on Windows support 2016-06-09 16:25:44 -07:00
Derek Bekoe 9c820b9e78 Be clearer with message 2016-06-02 11:01:07 -07:00
Derek Bekoe 82d109a265 Mention Permission error in doc 2016-06-02 10:49:44 -07:00
Derek Bekoe 51a6ca7db1 Create doc for how to test installs & Install examples 2016-06-02 09:45:36 -07:00
Travis Prescott c788a1c046 Role/Role Assignment tests. 2016-05-25 17:00:19 -07:00
Travis Prescott 9680395b3a Small commit to make TravisCI acknowledge PR exists... ? 2016-05-17 08:54:33 -07:00
Jason R. Shaver 4574d1a0e9 Added docs targeting internal preview customers (#260)
* added first draft of preview instructions

* added first draft of preview instructions

* added first draft of preview instructions

* added first draft of preview instructions

* Updated preview instructions.

* Create preview_demo_scripts.md

* Update preview_instructions.md

* Moved troubleshooting to a link back to the readme

* Update preview_demo_scripts.md
2016-05-16 16:18:46 -07:00
Derek Bekoe 3c8cf2f18c Update recording_vcr_tests.md 2016-05-06 16:40:54 -07:00
Travis Prescott 1f73d5ddff Added info on print_ method. 2016-04-29 09:44:35 -07:00
Travis Prescott 131204f065 Update test authoring help doc. 2016-04-28 14:56:53 -07:00
Travis Prescott 7c96231871 Address code review comments. 2016-04-08 16:18:02 -07:00
Travis Prescott 6ddfccaa5a Code review fixes. 2016-04-08 14:42:50 -07:00