Compare commits

...

2 Commits

Author SHA1 Message Date
vulpine 2e3b61fbfd show helptext when .nboard does not exist 2020-07-25 15:15:42 +00:00
vulpine ca4a1054ee more federation directions 2020-07-25 01:56:27 +00:00
2 changed files with 18 additions and 4 deletions

View File

@ -2,8 +2,18 @@
python curses based yourwalloftext clone
lol this is a great learning experience, because this is my first project to use
curses ;p
## help
read the --help text lol
## managing remotes
to get more remotes, you can
```bash
for i in $(cat remotes.txt); do echo $i | xargs git remote add 2>/dev/null || echo $i | xargs git remote set-url ; done
```
(command stolen from gitbbs lol)
which will go through all the remotes in remotes.txt and add them to git

6
nboard
View File

@ -114,7 +114,11 @@ def main(stdscr):
if __name__ == "__main__":
if len(sys.argv) > 1 and (sys.argv[1] == '--help' or sys.argv[1] == 'help'):
try:
dExists = os.path.isfile(dataPath)
except:
dExists = False
if not dExists or len(sys.argv) > 1 and (sys.argv[1] == '--help' or sys.argv[1] == 'help'):
print("""
nboard is like yourworldoftext.com, except its in a terminal.