Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for named parameters to FShell #39

Open
TheFriendlyCoder opened this issue May 1, 2018 · 0 comments
Open

Add support for named parameters to FShell #39

TheFriendlyCoder opened this issue May 1, 2018 · 0 comments

Comments

@TheFriendlyCoder
Copy link
Owner

It would be nice to be able to specify the parameters for an action method in an arbitrary order by naming each parameter and it's associated value, as in:

MyCommand param3=a param2=b param1=7

So if one had an action method that looked like this:

def do_MyCommand(self, param1, param2, param3):
    print(param1)
    print(param2)
    print(param3)

We'd see something like this:

7
b
a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant