1. 15 Jan, 2021 3 commits
  2. 29 Apr, 2020 1 commit
  3. 20 Mar, 2020 1 commit
    • Steven Allen's avatar
      fix: normalize options when parsing them · 7c76a735
      Steven Allen authored
      We introduced a bug where we forgot to do this and couldn't find the definition
      for the option.
      
      This _also_ fixes (and tests) a bug where we'd allow duplicate flags in some
      cases.
      7c76a735
  4. 18 Mar, 2020 1 commit
    • Cornelius Toole's avatar
      feat(file-ignore): add Strings option type · 5fe469e3
      Cornelius Toole authored
      - first step toward implementing file ignore
      
      feat(file-ignore): implement file ignore
      
      - add flags for providing a gitignore and/or list of files to ignore
      - construct a filter to be passed to a SerialFile
      
      feat(file-ignore): use go-ipfs-files fork; use renamed constructor
      
      feat(file-ignore): test case w. ignore rules; refactor parseArgs
      
      feat(file-ignore): ignore-rule opt is open-ended
      
      - make ignore-rules options accept a path to a file
      - add test case for ignore rules file
      
      feat(file-ignore): help-text for variardic opts
      
      - show StringsOption as variardic option in help-text
      - add test case for variardic option
      
      feat(file-ignore): rename rulesfile opt; fix typos
      
      feat(file-ignore): temp replace of go-ipfs-files
      
      - temporarily using go-ipfs-files fork until go-ipfs-files#26 is merged
      - trying to get ci/cd builds working
      - will revert before merging
      
      feat(file-ignore): refactor cli/parse.go#setOpts
      
      feat(file-ignore): cleanup parse.go; add test-case
      
      feat(file-ignore): update ignore option copytext
      
      feat(file-ignore): check opt against `optDef.Type`
      
      - revert exclusion of options with `Strings` type,
      so those option values are typechecked
      - add command test cases
      
      feat(file-ignore): add test-case w. hidden file
      
      feat(file-ignore): build against go-ipfs-files@latest
      
      feat(file-ignore): update go.mod/go.sum
      5fe469e3
  5. 11 May, 2019 1 commit
  6. 22 Mar, 2019 1 commit
  7. 21 Mar, 2019 1 commit
  8. 06 Dec, 2018 1 commit
  9. 19 Mar, 2018 1 commit
  10. 18 Mar, 2018 2 commits
  11. 17 Mar, 2018 2 commits
  12. 08 Jan, 2018 2 commits
  13. 06 Jan, 2018 1 commit
  14. 22 Dec, 2017 1 commit
  15. 21 Dec, 2017 1 commit
  16. 06 Oct, 2017 1 commit
  17. 08 Jun, 2017 1 commit
  18. 26 May, 2017 1 commit
  19. 12 May, 2017 1 commit
  20. 26 Apr, 2017 1 commit
  21. 25 Apr, 2017 1 commit
  22. 16 Apr, 2017 1 commit
  23. 13 Feb, 2017 1 commit
  24. 08 Jul, 2016 1 commit
  25. 01 Jul, 2016 1 commit
  26. 26 Jun, 2016 2 commits
  27. 16 Apr, 2016 1 commit
  28. 05 Apr, 2016 1 commit
    • Thomas Gardner's avatar
      commands/cli: fix parsing of incorrect permutations · 7bfedab0
      Thomas Gardner authored
      parseOpts now does some preliminary path screening to prevent
      command sequences like
      
      	`ipfs <hash> cat`
      
      from succeeding. The tests affected by this have been slightly altered,
      but should be restored once parseOpts is decoupled from path analysis.
      
      Command suggestion printing has also been factored into a single
      function.
      
      Fixes: #2501
      License: MIT
      Signed-off-by: default avatarThomas Gardner <tmg@fastmail.com>
      7bfedab0
  29. 17 Feb, 2016 1 commit
  30. 28 Oct, 2015 1 commit
  31. 14 Oct, 2015 2 commits
  32. 20 May, 2015 2 commits