mirror of
https://github.com/cheat/cheat.git
synced 2024-11-24 15:01:36 +01:00
91f0d02de2
* feat: directory-scoped cheatpaths `cheat` now searches for a `.cheat` directory in the current working directory. If found, that directory is (temporarily) appended to the slice of cheatpaths. * makefile wip * fix: appeases linter Appeases linter (`go vet`) by adding quotation marks to YAML struct tags. * chore: modifies .gitignore Adds `tag` to `.gitignore` * feat: adds Makefile Adds a `Makefile` for managing build-related tasks. * chore: documents directory-local paths Adds documentation regarding the new directory-local cheatpath functionality. * chore: updates dependencies * chore: bumps version to 3.3.0 * chore: updates bin scripts - Removes `build_release.sh` - Places deprecation notice in `build_devel.sh`, as its purpose has been superceded by the `Makefile`.
10 lines
235 B
Go
10 lines
235 B
Go
package cheatpath
|
|
|
|
// Cheatpath encapsulates cheatsheet path information
|
|
type Cheatpath struct {
|
|
Name string `yaml:"name"`
|
|
Path string `yaml:"path"`
|
|
ReadOnly bool `yaml:"readonly"`
|
|
Tags []string `yaml:"tags"`
|
|
}
|