Skip to content

Commit

Permalink
{Logic}Fix ReadMe missing issue (#4751)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanyuanNi authored May 9, 2022
1 parent d76b9ce commit c16aef1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions src/logic/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

0.1.6
++++++
*Add README.md link in logic help
*Fix a syntax error in README.md
0.1.5
++++++
* Upgrade SDK to fix deserialization errors
Expand Down
2 changes: 1 addition & 1 deletion src/logic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ An example JSON for import could look like:
},
"location": "centralus"
}
'''
```
10 changes: 5 additions & 5 deletions src/logic/azext_logic/generated/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def load_arguments(self, _):
help='The resource group name.')
c.argument('name', options_list=[
'--name', '-n'], help='The workflow name.')
c.argument('definition', type=validate_file_or_dict, help='Path to a workflow defintion JSON file (see README.md for more info on this). ' +
c.argument('definition', type=validate_file_or_dict, help='Path to a workflow defintion JSON file (see https://github.com/Azure/azure-cli-extensions/blob/main/src/logic/README.md for more info on this). ' +
'This JSON format should match what the logic app design tool exports', completer=FilesCompleter())
c.argument('location', arg_type=get_location_type(
self.cli_ctx), validator=get_default_location_from_resource_group)
Expand All @@ -49,7 +49,7 @@ def load_arguments(self, _):
c.argument('endpoints_configuration', arg_type=CLIArgumentType(options_list=['--endpoints-configuration'],
help='The endpoints configuration.'))
c.argument('access_control', arg_type=CLIArgumentType(options_list=['--access-control'], help='The access contr'
'ol configuration controls access to this workflow. See README.md for more information'))
'ol configuration controls access to this workflow. See https://github.com/Azure/azure-cli-extensions/blob/main/src/logic/README.md for more information'))
c.argument('state', arg_type=get_enum_type(['NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Sus'
'pended']), help='The state.')
c.argument('tags', tags_type, help='The resource tags.')
Expand All @@ -61,7 +61,7 @@ def load_arguments(self, _):
'--name', '-n'], help='The workflow name.')
c.argument('state', arg_type=get_enum_type(['NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Sus'
'pended']), help='The state.')
c.argument('definition', type=validate_file_or_dict, help='Path to a workflow defintion JSON file (see README.md for more info on this). ' +
c.argument('definition', type=validate_file_or_dict, help='Path to a workflow defintion JSON file (see https://github.com/Azure/azure-cli-extensions/blob/main/src/logic/README.md for more info on this). ' +
'This JSON format should match what the logic app design tool exports', completer=FilesCompleter())
c.argument('tags', tags_type, help='The resource tags.')

Expand Down Expand Up @@ -94,7 +94,7 @@ def load_arguments(self, _):
c.argument('sku', type=str, help='The integration account sku.')
c.argument('integration_service_environment', arg_type=CLIArgumentType(options_list=['--integration-service-env'
'ironment'], help='The integration se'
'rvice environment. See README.md For more information'))
'rvice environment. See https://github.com/Azure/azure-cli-extensions/blob/main/src/logic/README.md For more information'))
c.argument('state', arg_type=get_enum_type(['NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Sus'
'pended']), help='The workflow state.')

Expand All @@ -107,7 +107,7 @@ def load_arguments(self, _):
c.argument('sku', type=str, help='The integration account sku.')
c.argument('integration_service_environment', arg_type=CLIArgumentType(options_list=['--integration-service-env'
'ironment'], help='The integration se'
'rvice environment. See README.md For more information'))
'rvice environment. See https://github.com/Azure/azure-cli-extensions/blob/main/src/logic/README.md For more information'))
c.argument('state', arg_type=get_enum_type(['NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Sus'
'pended']), help='The workflow state.')

Expand Down
2 changes: 1 addition & 1 deletion src/logic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '0.1.5'
VERSION = '0.1.6'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit c16aef1

Please sign in to comment.