#!/usr/bin/env python
# SUMMARY: hey'
# COMPLETE
# START HELP
# this is an example of a simple script written in python.
# END HELP
import sys

# when attempting to complete a variable,
# --complete will be passed, with the full argument set.
# for example,
# $ cb file_example foo a --complete
# will pass all arguments (the "a" should be autocompleted.)
if len(sys.argv) > 1 and sys.argv[1] == "--complete":
    sys.stdout.write("file autocomplete example")
else:
    print("hello")

8912ae21856ce4c73cce10739595938b9dc4947d
<mask token>

<mask token>
if len(sys.argv) > 1 and sys.argv[1] == '--complete':
    sys.stdout.write('file autocomplete example')
else:
    print('hello')

import sys
if len(sys.argv) > 1 and sys.argv[1] == '--complete':
    sys.stdout.write('file autocomplete example')
else:
    print('hello')

#!/usr/bin/env python
# SUMMARY: hey'
# COMPLETE
# START HELP
# this is an example of a simple script written in python.
# END HELP
import sys

# when attempting to complete a variable,
# --complete will be passed, with the full argument set.
# for example,
# $ cb file_example foo a --complete
# will pass all arguments (the "a" should be autocompleted.)
if len(sys.argv) > 1 and sys.argv[1] == "--complete":
    sys.stdout.write("file autocomplete example")
else:
    print("hello")
