mirror of
https://github.com/writeas/writeas-cli
synced 2025-07-26 23:08:16 +00:00
Show "publishing..." statuses before publishing
instead of after.
This commit is contained in:
parent
f46c5717a7
commit
ccec921bd7
@ -14,13 +14,13 @@ import (
|
||||
)
|
||||
|
||||
func CmdPost(c *cli.Context) error {
|
||||
_, err := api.DoPost(c, api.ReadStdIn(), c.String("font"), false, c.Bool("code"))
|
||||
if config.IsTor(c) {
|
||||
log.Info(c, "Publishing via hidden service...")
|
||||
} else {
|
||||
log.Info(c, "Publishing...")
|
||||
}
|
||||
|
||||
_, err := api.DoPost(c, api.ReadStdIn(), c.String("font"), false, c.Bool("code"))
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user