question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

generate_command_inventory.py --params

See original GitHub issue

I get the following error when I try this python .\generate_command_inventory.py --commands build --params list

Traceback (most recent call last):
  File ".\generate_command_inventory.py", line 57, in <module>
    cmd_args = cmd_table[cmd_name]['arguments']
TypeError: 'CLICommand' object is not subscriptable

Am I using it correctly. Optimally, I’d like to get all the commands back and all the parameters for that command but this python .\generate_command_inventory.py only brings back the cmds.

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tedchambcommented, Jan 4, 2018

@willsmythe Can you take a look at this question?

0reactions
geverghecommented, Feb 28, 2019

We recently announced the release of the Azure DevOps extension to Azure CLI. We will not be investing in features in VSTS CLI. Do give the new Azure DevOps extension a try and let us know if you are facing any challenges.

Read more comments on GitHub >

github_iconTop Results From Across the Web

py-params - PyPI
Params represents a set of parameters modeled as a dict with a fixed set of keys. Default values are provided as class level...
Read more >
Parsing arguments and building values — Python 3.11.1 ...
A format unit describes one Python object; it is usually a single character or ... Parse the parameters of a function that takes...
Read more >
Generator with parameters? - python - Stack Overflow
Is there a way to create a parametrized Generator. I want a generator/counter that increases if I pass True and decreases if I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found