Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Interface #150

Merged
merged 73 commits into from
Oct 22, 2014
Merged

Command Interface #150

merged 73 commits into from
Oct 22, 2014

Commits on Oct 20, 2014

  1. commands: Implemented Command

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    dd2a105 View commit details
    Browse the repository at this point in the history
  2. commands: Created Option struct

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    30ea427 View commit details
    Browse the repository at this point in the history
  3. commands: Request struct

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    15b7388 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd68296 View commit details
    Browse the repository at this point in the history
  5. commands: Check for option name collisions

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    5b18844 View commit details
    Browse the repository at this point in the history
  6. commands: Added tests for Command.Register

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    e593c18 View commit details
    Browse the repository at this point in the history
  7. commands: Created a list of global options (for options owned by comm…

    …ands package)
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    47ebf17 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d7e9afc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    97ce60f View commit details
    Browse the repository at this point in the history
  10. commands: Added Response

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f31fd53 View commit details
    Browse the repository at this point in the history
  11. commands: Updated Command to use Response for output rather than (int…

    …erface{}, error)
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b2ee05a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df034c9 View commit details
    Browse the repository at this point in the history
  13. commands: Added basic methods to Request

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    d1595ce View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    95b0dd2 View commit details
    Browse the repository at this point in the history
  15. commands: Added marshalling to Response

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    a3a8437 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    808d9c1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    308ee5c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    01938ac View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    aa592ce View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    94ca264 View commit details
    Browse the repository at this point in the history
  21. commands: Formatted code

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4367097 View commit details
    Browse the repository at this point in the history
  22. commands/cli: Added CLI option parsing

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    bf32818 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b3eecf4 View commit details
    Browse the repository at this point in the history
  24. commands/cli: Added path/args parsing

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4bd3a77 View commit details
    Browse the repository at this point in the history
  25. commands/cli: Added path/args test

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f437230 View commit details
    Browse the repository at this point in the history
  26. commands: Made Command#GetOption method, for getting all options for …

    …a given command path
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    1b35615 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    66b0727 View commit details
    Browse the repository at this point in the history
  28. commands/cli: Refactored parsing to always get the command path at th…

    …e beginning of the CLI input
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    bb32633 View commit details
    Browse the repository at this point in the history
  29. commands/cli: Fixed tests for refactor

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    08885c0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    66e6da3 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5d9fa93 View commit details
    Browse the repository at this point in the history
  32. commands/cli: Removed parser string handling since the go runtime han…

    …dles it for us automatically
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    97b8719 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    86bc450 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    793a8de View commit details
    Browse the repository at this point in the history
  35. commands: Added Request#SetPath method

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    e1a4b8d View commit details
    Browse the repository at this point in the history
  36. commands: Added option value conversion, and moved option validation …

    …logic into Request#convertOptions
    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    c575b50 View commit details
    Browse the repository at this point in the history
  37. commands: Fixed tests

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    1e8719e View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    47eea7f View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    7a36278 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    968ec34 View commit details
    Browse the repository at this point in the history
  41. commands: Added 'NewEmptyRequest'

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    09311d4 View commit details
    Browse the repository at this point in the history
  42. commands: Fixed tests

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4b0f44e View commit details
    Browse the repository at this point in the history
  43. commands: Added Command#Resolve

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4af61ad View commit details
    Browse the repository at this point in the history
  44. commands: Added simple Command#Resolve test

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    c054fb3 View commit details
    Browse the repository at this point in the history
  45. commands: Added Command#Get

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    d2176c0 View commit details
    Browse the repository at this point in the history
  46. commands: Formatted code

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4f06c6f View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e5e121a View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    f87c418 View commit details
    Browse the repository at this point in the history
  49. commands/cli: Fixed test for new parsing

    mappum authored and jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b48b12e View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    117af86 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    a9fa767 View commit details
    Browse the repository at this point in the history
  52. fmt, lint, + vet commands/

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    7673ce6 View commit details
    Browse the repository at this point in the history
  53. f -> run, Function type.

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    09d2277 View commit details
    Browse the repository at this point in the history
  54. AddOptionNames func

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    84fa7bc View commit details
    Browse the repository at this point in the history
  55. Sub -> Subcommand

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    92528ba View commit details
    Browse the repository at this point in the history
  56. parsePath no err

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4986600 View commit details
    Browse the repository at this point in the history
  57. "enc" -> EncShort

    jbenet committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    bbef82f View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    b10fc2c View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    c0b28dc View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    7bd7ed6 View commit details
    Browse the repository at this point in the history
  61. commands: Fixed tests

    mappum committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b022ba4 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2014

  1. Configuration menu
    Copy the full SHA
    71ff571 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4896123 View commit details
    Browse the repository at this point in the history
  3. commands: Fixed tests

    mappum committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    8786878 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b65a5ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd84a3e View commit details
    Browse the repository at this point in the history
  6. commands: Fixed tests

    mappum committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    4f10f03 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2014

  1. Configuration menu
    Copy the full SHA
    6ff98df View commit details
    Browse the repository at this point in the history
  2. commands: Removed Command#Register and exported Subcommands so subcom…

    …mands can be defined statically
    mappum committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    ca44d0d View commit details
    Browse the repository at this point in the history
  3. commands: Fixed tests

    mappum committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    dd81bf6 View commit details
    Browse the repository at this point in the history
  4. commands: go fmt

    jbenet authored and mappum committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    d464e3d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12a6a87 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4303dcc View commit details
    Browse the repository at this point in the history