-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from collove/development
Development
- Loading branch information
Showing
6 changed files
with
110 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Language choices | ||
|
||
LANGUAGES = { | ||
'bash': 'Command Language', | ||
'c': 'C Language', | ||
|
@@ -16,7 +15,7 @@ | |
'php': 'PHP Language', | ||
'plaintext': 'PlainText', | ||
'python': 'Python Language', | ||
'rb': 'Ruby Language' | ||
'rb': 'Ruby Language', | ||
} | ||
|
||
THEMES = { | ||
|
@@ -28,18 +27,27 @@ | |
'github-dark': 'Github Dark', | ||
} | ||
|
||
# Hint for using the available languages | ||
EXPIRY_TIME = { | ||
'1d': '1 Day', | ||
'1w': '1 Week', | ||
'1m': '1 Month', | ||
} | ||
|
||
# Hint for using the available languages | ||
LANGUAGES_HINT = f'''snippet language (available languages: | ||
{", ".join([_ for _ in LANGUAGES.keys()])}) | ||
''' | ||
|
||
# Hint for using the available themes | ||
|
||
THEMES_HINT = f'''theme (available themes: | ||
{", ".join([_ for _ in THEMES.keys()])}) | ||
''' | ||
|
||
# Hint for using the available expiry times | ||
EXPIRY_TIME_HINT = f'''expiry time (available expiry times: | ||
{", ".join([_ for _ in EXPIRY_TIME.keys()])}) | ||
''' | ||
|
||
# Actual service information | ||
|
||
PASTEME_SERVICE_URL = 'https://pasteme.pythonanywhere.com' | ||
|
@@ -53,4 +61,4 @@ | |
# Information | ||
|
||
EPILOG_DESCRIPTION = '''Author -> Sadra Yahyapour (mailto:[email protected]) | ||
GitHub -> https://github.com/collove/pasteme-cli''' | ||
GitHub -> https://github.com/collove/pasteme-cli''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .pasteme import Snippet | ||
from .pasteme import Snippet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters