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

[FEATURE] proccess commands from terminal #1

Closed
H4ppy-04 opened this issue May 22, 2023 · 0 comments
Closed

[FEATURE] proccess commands from terminal #1

H4ppy-04 opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@H4ppy-04
Copy link
Owner

Description
Process commands from terminal.

Example

 $ urban FOMO

detects FOMO as the definition

Implementation

import sys
args = sys.argv
try:
    word = sys.argv[1]
except IndexError:
    print("Try specifying a word. Eg: urban selfie")
    sys.exit(0)
@H4ppy-04 H4ppy-04 added the enhancement New feature or request label May 22, 2023
@H4ppy-04 H4ppy-04 added the 1.1.0 label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant