spf13--cobra/cobra/cmd
Rodolfo Carvalho 748b14cfe6 Write temporary test files in temp directory
Instead of writing to the current working directory, pick a random temp
directory to test the CLI commands, keeping the working directory free
of test side effects.

In some cases the system default temp dir will also have some advantages
like being mounted in an in-memory tmpfs.
2020-01-22 01:01:23 +01:00
..
testdata Bump year on golden files (#1010) 2020-01-06 11:10:57 -07:00
add.go fix missing newline in cmd/add (#905) 2019-07-15 09:44:15 -06:00
add_test.go fix: ensure that testproject is removed even after a failure (#948) 2019-09-17 09:02:42 -06:00
golden_test.go [TrivialPatches] Typos in README.md, fix and update CI, update projects list... (#840) 2019-03-20 17:21:26 -04:00
helpers.go cmd: Fix #612 (#614) 2018-01-15 17:09:33 +01:00
init.go Correct all complaints from goimports 2019-08-02 01:25:21 +05:00
init_test.go Write temporary test files in temp directory 2020-01-22 01:01:23 +01:00
license_agpl.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_apache_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_bsd_clause_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_bsd_clause_3.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_gpl_2.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_gpl_3.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_lgpl.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
license_mit.go cmd: Refine formatting of included licenses 2017-07-30 02:35:06 -06:00
licenses.go cmd: Fix text of custom license 2017-10-04 22:36:42 +02:00
project.go fix: ensure that testproject is removed even after a failure (#948) 2019-09-17 09:02:42 -06:00
project_test.go vgo - strip out unused methods 2019-06-07 10:31:03 -04:00
root.go Add idiomatic handling of go error in distinct main func 2019-08-02 01:25:21 +05:00