Matt Baer
e1fed9b941
Add Slack badge
8 anni fa
Matt Baer
65f7cb6044
Add comments and lowercase version const
8 anni fa
Matt Baer
ae52ca28fc
Bump version to 0.4
8 anni fa
Matt Baer
04048c50ae
Change consts to camelCase
8 anni fa
Matt Baer
632cce85f3
Enable updating exist post's font
8 anni fa
Matt Baer
99294306eb
Add `post` and `new` post appearance help
8 anni fa
Matt Baer
8392e1b817
Support --code and --font flags on `writeas new`
8 anni fa
Matt Baer
ec47b9ea66
Add ability to set post font
8 anni fa
Matt Baer
c372ed6740
Fix writeas --code flag not working
Would previously only work for `writeas post --code` command.
8 anni fa
Matt Baer
b318b63660
Use latest update/delete endpoints
8 anni fa
Matt Baer
a350f2a016
Use HTTPS API
Backend now supports a cipher suite Go is compatible with.
8 anni fa
Matt Baer
80d0f76532
Improve subcommand help template
Shows 'writeas' instead of generic 'command'
8 anni fa
Matt Baer
995d73db91
Update `add` and `new` help
8 anni fa
Matt Baer
1765077dd0
Fix error in `writeas list` with no existing posts
Found while going over new functionality (#6 )
8 anni fa
Matt Baer
a8d09cf9c2
Edit new post in prompt on Windows
8 anni fa
Matt Baer
91b97e9ec9
Copy post URL to clipboard upon publishing
8 anni fa
Matt Baer
96fbcc2e27
Add delete/update/get running status
8 anni fa
Matt Baer
d55995236a
Add missing import
8 anni fa
Matt Baer
f5b8b3ede7
Bump version to 0.3
8 anni fa
Matt Baer
3ad058d152
shrink some variable assignments to one line
8 anni fa
Matt Baer
1d61f6f485
Prevent composed post data loss when posting fails
Keeps temporary post file around until a post successfully goes through.
8 anni fa
Matt Baer
b8edb80c1c
Merge branch 'develop' of github.com:writeas/writeas-cli into develop
8 anni fa
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 anni fa
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 anni fa
Matt Baer
15ea69cbc1
Send User-Agent with all requests
8 anni fa
Matt Baer
c67c6e8324
Add error logging
8 anni fa
Matt Baer
3859abdf5e
Support --code flag to set 'code' appearance
9 anni fa
Matt Baer
955cc2d767
Bump version to 0.2
9 anni fa
Matt Baer
d2db46625f
Update README with update help
9 anni fa
Matt Baer
b23ff442f8
Merge branch 'develop'
9 anni fa
Matt Baer
a542b7df27
Modify tor flag descriptions
9 anni fa
Matt Baer
f3124a7222
Add ability to update posts
Finishes issue #1
9 anni fa
Matt Baer
af5d6621b2
Merge pull request #5 from writeas/develop
List local posts
9 anni fa
Matt Baer
8f7d273aec
Default post font to mono
Part of #4
9 anni fa
Matt Baer
fa0cb9aaf6
Update README
9 anni fa
Matt Baer
3ac8227d8a
Tweak `writeas add` description slightly
9 anni fa
Matt Baer
a37e09f8bb
List local posts
Includes --id and --url flags for customizing the output
9 anni fa
Matt Baer
8a97dcd44a
Add ability to add posts locally
9 anni fa
Matt Baer
af91e12383
Bump version to 0.1.1
9 anni fa
Matt Baer
10ea23c60a
Add a line break after "bad token" error
9 anni fa
Matt Baer
9cc61061f5
Correctly fetch posts
Uses the normal API for fetching posts, and appends .txt for current
hidden service API.
9 anni fa
Matt Baer
fe7cad30aa
Remove unused getPass function
9 anni fa
Matt Baer
b208a15515
Update README
9 anni fa
Matt Baer
33eb8cf782
Allow user to specify Tor port
9 anni fa
Matt Baer
309e66136e
Correctly write posts file
i.e., sans superfluous whitespace
9 anni fa
Matt Baer
5bc0033471
Add post deletion without a token arg
9 anni fa
Matt Baer
5c30b519e4
Move project to writeas subfolder
So the executable will be named "writeas"
9 anni fa
Matt Baer
a338fde0d3
Handle 404 on post delete
9 anni fa
Matt Baer
3eaf568d0b
Merge branch 'local-fallback'
9 anni fa
Matt Baer
403bea55a8
Only panic from file errors when debugging
9 anni fa