Matt Baer
a63445f92a
Fix Exists() test in fileutils
5 år sedan
Matt Baer
052c792391
Add `writeas fetch` command
This configures a directory for posts and downloads all posts on the
authenticated account into the directory, organizing collection posts
into their own subdirectories.
5 år sedan
Matt Baer
fe4c67ba00
Move "not auth'd" error to newClient()
This adds a new parameter that determines whether or not authentication
is required, and also returns an error now.
5 år sedan
Matt Baer
db3450b8cc
Support logging out
5 år sedan
Matt Baer
5ec4a02c7a
Support publishing to a blog
Closes #16
5 år sedan
Matt Baer
257b969216
Make authenticated requests
If you're logged in, now requests will be made with the saved token
5 år sedan
Matt Baer
97f29319ee
Save authenticated user information in JSON
Instead of using an INI file for the access token, this stores it and
other user information in a single JSON file.
5 år sedan
Matt Baer
48b51417ff
Prevent authenticating when user already did that
5 år sedan
Matt Baer
fca81a9456
Update docs with updated flags + new auth command
5 år sedan
Matt Baer
02145b3acb
Support user authentication
Adds new `writeas auth` command and saves user's access token to a new
local configuration file.
This closes #10 / T191
5 år sedan
Matt Baer
d6c9ede87c
Move --tor flag checking to options.go
5 år sedan
Matt Baer
4a092cfbf8
Move userAgent func to options.go
5 år sedan
Matt Baer
5c3deaa07f
Migrate API calls to v2 / go-writeas library
This closes #9
5 år sedan
Matt Baer
0fbdecb85c
Remove unused readAPIURL var
5 år sedan
Matt Baer
4daad02a62
Fix macOS download URL
5 år sedan
Matt Baer
6f3b425144
Bump version to 1.1
5 år sedan
Matt Baer
91182658d6
Add features to README and tweak copy
5 år sedan
Matt Baer
cbb44f2859
Use code.as/core/socks instead of h12.me/socks
5 år sedan
Matt Baer
f494e6d185
Support setting custom User-Agent
5 år sedan
Matt Baer
32a4bd6bd7
Move API-related funcs to api.go
5 år sedan
Matt Baer
dc1ab5b9ea
Move Contributing guidelines to .github dir
6 år sedan
Matt Baer
6b7cd0f39b
Add GitHub issue template
6 år sedan
Matt Baer
8b603378e7
Add release date to v1.0
6 år sedan
Matt Baer
731c134cc5
Change OS X -> macOS
6 år sedan
Matt Baer
8d4e0ec138
Correctly name fileutils package
This changes the containing dir name to match the fileutils package name.
6 år sedan
Matt Baer
bcb46c34f0
Add .gitignore under cmd dir
6 år sedan
Matt Baer
c69b4489f0
Bump version to 1.0
6 år sedan
Matt Baer
bd8de5ad0c
Update README with v1.0 information
6 år sedan
Matt Baer
405f555037
Update user guide with current logging / copy changes
6 år sedan
Matt Baer
e9de7440f1
Add latest changes to CHANGELOG
6 år sedan
Matt Baer
3f38fc3432
Move logging to new funcs & support -v flag
This simplifies logging and logging/exiting, plus supports the -v flag
for showing verbose output.
6 år sedan
Matt Baer
bf2278acc1
Mention WRITEAS_EDITOR env var in help info
6 år sedan
Matt Baer
0b8e5fb841
Update usage information: "Publish text quickly"
6 år sedan
Matt Baer
c48416da15
Remove unused check func
6 år sedan
Matt Baer
e3144a16d6
Change short version flag to -V, from -v
7 år sedan
Matt Baer
5aded12ead
Use new `cli.ActionFunc` signature, pass around errors
A lot has changed to the previously named codegangsta/cli library, and
this gets up to date with everything, fixing issue #8 .
It also passes around errors from funcs that perform actions inside the
command funcs, for more Go-ness.
7 år sedan
Matt Baer
b6a17f074b
Move usage instructions to GUIDE.md
7 år sedan
Matt Baer
e00331804a
Merge remote-tracking branch 'origin/master' into version-two
7 år sedan
Matt Baer
128393555c
Merge branch 'master' of github.com:writeas/writeas-cli
7 år sedan
Matt Baer
1192d2dfda
Move main files to cmd folder
7 år sedan
Matt Baer
8e14c2fa40
Show example uses of more subcommands
7 år sedan
Matt Baer
13d1154a5a
Fix change log dates
7 år sedan
Matt Baer
314b2c5bb0
Add change log
7 år sedan
Matt Baer
6984a6fae9
Add contributing guidelines
7 år sedan
Matt Baer
1bf46a71cf
Add IRC badge to README
8 år sedan
Matt Baer
21368f4d3f
Fix more variable names
8 år sedan
Matt Baer
d441997a10
Add Go Report Card score to README
8 år sedan
Matt Baer
4a5e8db5c2
Fix golint issues
- Adds comments where necessary
- Fixes some variable names
- Fixes if/else statements with returns
- Use fmt.Errorf(...)
8 år sedan
Matt Baer
7be4a1ab43
Honor WRITEAS_EDITOR environment variable
When composing posts with `writeas new`, this is checked before `EDITOR`
and then falling back to default editors.
8 år sedan
Matt Baer
b560ed1758
Fix socks package import
8 år sedan