Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/example_west_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Example of a west extension in the example-application repository.'''

from west.commands import WestCommand # your extension must subclass this
from west import log # use this for user output

class ExampleWestCommand(WestCommand):

Expand Down Expand Up @@ -45,5 +44,5 @@ def do_run(self, args, unknown_args):
# $ west my-command-name -o FOO BAR
# --optional is FOO
# required is BAR
log.inf('--optional is', args.optional)
log.inf('required is', args.required)
self.inf('--optional is', args.optional)
self.inf('required is', args.required)