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

366 Коммитов

Автор SHA1 Сообщение Дата
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
Travis Prescott 4cb0c18182 Create recording_vcr_tests.md 2016-04-07 16:08:42 -07:00
Travis Prescott 7ae61a9a56 Merge branch 'master' of https://github.com/tjprescott/azure-cli into StorageAccountMergeAttempt2
# Conflicts:
#	src/azure/cli/tests/command_specs/__init__.py
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.test_vm_usage_list_westus.yaml
#	src/azure/cli/tests/recordings/command_specs.test_spec_vm.vm_usage_list_westus.yaml
#	src/azure/cli/tests/test_commands.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/__init__.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/command_specs.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/recordings/test_network_usage_list.yaml
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/command_specs.py
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/recordings/test_resource_group_list.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/__init__.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_check.yaml
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/test_storage_account_list.yaml
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/__init__.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_usage_list_westus.yaml
2016-04-06 16:19:05 -07:00
Derek Bekoe adf6ed0f70 Modify documentation on configuring dev machine. 2016-04-06 15:18:47 -07:00
Travis Prescott 128802ea79 Clarify steps to re-record VCR tests. 2016-03-30 08:17:41 -07:00
Travis Prescott 08f1871fdd Supress prompts based on presence of --buffer rather than -q/--quiet 2016-03-28 10:33:07 -07:00
Travis Prescott 088bf7b3f3 Fix directions for running unit tests.
Add discussion for usage of -q.
2016-03-28 09:16:41 -07:00
Travis Prescott b047560970 Clarify step for logging in to Docker. 2016-03-17 09:18:54 -07:00
Travis Prescott 60d4623e72 Remove embedded link to secure notebook. 2016-03-17 08:44:56 -07:00
Travis Prescott 502a4e7446 Add Docker initial setup step. 2016-03-16 15:34:45 -07:00
Travis Prescott 42a29944f1 Added Docker setup instructions. 2016-03-16 13:26:54 -07:00
Travis Prescott 1f4fc51346 Clarify step to run unit tests from Windows CL. 2016-03-10 14:58:14 -08:00
Travis Prescott f9c1e73e77 Specify step 7 as OSX/Ubunut only. 2016-03-10 14:32:44 -08:00
Travis Prescott 1659d82ec4 Add link to PTVS. Add unit test directions for Visual Studio. Format cleanup. 2016-03-10 14:23:06 -08:00
Travis Prescott 149d88db69 Update documentation for initial configuration for Windows environment. Fixed minor bugs in GitHub's markdown format. 2016-03-10 12:39:23 -08:00
Mayuri Diwan 40eda7f8c7 Updating to include all requirements and hook-up tab completion 2016-03-08 14:38:38 -08:00
Johan Stenberg feec1b1a4d Change casing of doc folder 2016-02-27 11:13:11 -08:00