madonctl account: Try to gues account ID type
madonctl account: Try to gues account ID type

In addition to the explicit account type flags,
this patch lets the user pass the account identifier as a single
argument for the "madonctl account" subcommands.

See #6.

Here are a few examples:

  madonctl account show 1234
  madonctl account show McKael@matmot.fr
  madonctl account show https://mastodon.social/@Gargron

  madonctl account statuses 399
  madonctl account statuses @McKael                   # (local account)
  madonctl account statuses Gargron@mastodon.social   # remote (known account)
  madonctl account statuses https://mastodon.social/@Gargron  # any account URL

Same for following accounts
  madonctl account follow 4800 --reblogs=false
  madonctl account follow Gargron@mastodon.social
  madonctl account follow https://mastodon.social/@Gargron

McKael/madonctl