Matt Baer
80d0f76532
Improve subcommand help template
Shows 'writeas' instead of generic 'command'
8 years ago
Matt Baer
995d73db91
Update `add` and `new` help
8 years ago
Matt Baer
1765077dd0
Fix error in `writeas list` with no existing posts
Found while going over new functionality (#6 )
8 years ago
Matt Baer
a8d09cf9c2
Edit new post in prompt on Windows
8 years ago
Matt Baer
91b97e9ec9
Copy post URL to clipboard upon publishing
8 years ago
Matt Baer
96fbcc2e27
Add delete/update/get running status
8 years ago
Matt Baer
d55995236a
Add missing import
8 years ago
Matt Baer
f5b8b3ede7
Bump version to 0.3
8 years ago
Matt Baer
3ad058d152
shrink some variable assignments to one line
8 years ago
Matt Baer
1d61f6f485
Prevent composed post data loss when posting fails
Keeps temporary post file around until a post successfully goes through.
8 years ago
Matt Baer
b8edb80c1c
Merge branch 'develop' of github.com:writeas/writeas-cli into develop
8 years ago
Matt Baer
4a808d8c2d
Fix launching editor in Windows
Fixes the start command.
Saves the temporary file with .txt extension, so that Windows can correctly handle it.
8 years ago
Matt Baer
8c6a9e75b8
Add `new` subcommand
Creates a new temporary file and posts whatever was written to it once
the user exits their editor.
TODO: don't lose work if something goes wrong in the posting process
8 years ago
Matt Baer
15ea69cbc1
Send User-Agent with all requests
8 years ago
Matt Baer
c67c6e8324
Add error logging
8 years ago
Matt Baer
3859abdf5e
Support --code flag to set 'code' appearance
8 years ago
Matt Baer
955cc2d767
Bump version to 0.2
9 years ago
Matt Baer
d2db46625f
Update README with update help
9 years ago
Matt Baer
b23ff442f8
Merge branch 'develop'
9 years ago
Matt Baer
a542b7df27
Modify tor flag descriptions
9 years ago
Matt Baer
f3124a7222
Add ability to update posts
Finishes issue #1
9 years ago
Matt Baer
af5d6621b2
Merge pull request #5 from writeas/develop
List local posts
9 years ago
Matt Baer
8f7d273aec
Default post font to mono
Part of #4
9 years ago
Matt Baer
fa0cb9aaf6
Update README
9 years ago
Matt Baer
3ac8227d8a
Tweak `writeas add` description slightly
9 years ago
Matt Baer
a37e09f8bb
List local posts
Includes --id and --url flags for customizing the output
9 years ago
Matt Baer
8a97dcd44a
Add ability to add posts locally
9 years ago
Matt Baer
af91e12383
Bump version to 0.1.1
9 years ago
Matt Baer
10ea23c60a
Add a line break after "bad token" error
9 years ago
Matt Baer
9cc61061f5
Correctly fetch posts
Uses the normal API for fetching posts, and appends .txt for current
hidden service API.
9 years ago
Matt Baer
fe7cad30aa
Remove unused getPass function
9 years ago
Matt Baer
b208a15515
Update README
9 years ago
Matt Baer
33eb8cf782
Allow user to specify Tor port
9 years ago
Matt Baer
309e66136e
Correctly write posts file
i.e., sans superfluous whitespace
9 years ago
Matt Baer
5bc0033471
Add post deletion without a token arg
9 years ago
Matt Baer
5c30b519e4
Move project to writeas subfolder
So the executable will be named "writeas"
9 years ago
Matt Baer
a338fde0d3
Handle 404 on post delete
9 years ago
Matt Baer
3eaf568d0b
Merge branch 'local-fallback'
9 years ago
Matt Baer
403bea55a8
Only panic from file errors when debugging
9 years ago
Matt Baer
d34584a1fb
Fix file writing on Windows
9 years ago
Matt Baer
d820eb8f0c
Use better error message when post isn't found
9 years ago
Matt Baer
0742ca9909
Save post IDs and tokens locally
Plus only show post URL upon success
9 years ago
Matt Baer
b475e42d33
Remove unused encryption functionality
9 years ago
Matt Baer
a60fe964ec
Support post/get/delete on hidden service
9 years ago
Matt Baer
8e0a18150f
Ability to get, post, and delete
Includes:
- posting to hidden service
- a ton of code for {en,de}crypting that isn't used
- author: Write.as
- individual commands help
9 years ago
Matt Baer
d22c844030
🚀
Includes posting ability using the current API utilized by the Android app at i.write.as.
9 years ago