Dan Anglin
c04cd7e8a5
Changes: - moved the command names from main to the executor package. - moved the unknownCommandError to the executor package and renamed it to UnknownCommandError. - define the command summaries within the executor package. - replace the switch statement in main.run() with a hashmap for looking up the corresponding executor to the given command. - transformed BlockExecutor to BlockOrUnblockExecutor. - transformed FollowExecutor to FollowOrUnfollowExecutor. Additional fixes: - fixed flag for the version executor. |
||
---|---|---|
.. | ||
accept_or_reject.go | ||
account.go | ||
add.go | ||
block_or_unblock.go | ||
commands.go | ||
create.go | ||
delete.go | ||
edit.go | ||
errors.go | ||
executor.go | ||
flags.go | ||
follow_or_unfollow.go | ||
login.go | ||
remove.go | ||
resources.go | ||
show.go | ||
switch.go | ||
usage.go | ||
version.go | ||
whoami.go |