Commit Graph

24 Commits

Author SHA1 Message Date
Kai Armstrong f95b6ea90c docs: add linting and checks to documentation 2022-10-21 14:38:48 +00:00
Gary Holtz 74f5004d57 Merge branch 'phikai-docs-comments' into 'main'
fix (docs): Correct HTML comment syntax

Closes #1075

See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1056

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
2022-10-19 14:32:40 +00:00
Kai Armstrong 12349e251f fix (docs): Correct HTML comment syntax 2022-10-19 14:32:40 +00:00
Clement Sam f4c9b6f20e fix: avoid prompting for remotes in non-TTY 2022-10-18 01:31:57 +00:00
Kai Armstrong 20b6d07607 docs: convert documentation to markdown 2022-10-17 17:46:38 +00:00
Oscar Tovar 40a5436789 chore: update module path 2022-09-19 20:23:45 +00:00
Clement Sam a8ac704ccd refactor: move internal/utils package to pkg/utils 2021-01-29 08:40:52 +00:00
Clement Sam 8352f6e427 reasonably change iostream methods
Change iostreams methods names and references
2021-01-28 23:07:05 +00:00
Clement Sam e4acafd006 refactor: move iostreams to own separate package
- Move iostreams to own separate package
- Fix references to iostream package
- Add StartSpinner and StopSpinner methods
2021-01-28 22:38:32 +00:00
Clement Sam a7b60d9efd feat(cmd/gen-docs): manpage generation from cobra
Closes #580
2021-01-18 23:06:25 +00:00
Leo 819e1102f1 refactor(cmd/gen-docs): replace .Replace(... -1) with .ReplaceAll
https://deepsource.io/gh/profclems/glab/run/038a4af3-c4d4-41ee-9272-81b12a2bb6e7/go/CRT-A0010/
2020-12-28 07:29:55 -03:00
Leo 65d85b4c57 refactor(cmd/gen-docs): fix string length check
https://deepsource.io/gh/profclems/glab/run/038a4af3-c4d4-41ee-9272-81b12a2bb6e7/go/CRT-A0004/
2020-12-28 07:29:55 -03:00
Leo b0f45afc96 feat(cmd/gen-docs): fix directory permissions and unused variable
https://deepsource.io/gh/profclems/glab/run/038a4af3-c4d4-41ee-9272-81b12a2bb6e7/go/GSC-G301/
https://deepsource.io/gh/profclems/glab/run/038a4af3-c4d4-41ee-9272-81b12a2bb6e7/go/SCC-SA4006/
2020-12-28 07:29:55 -03:00
Clement Sam 4866d691da
docs: switch from md to rst (#280)
* docs: switch from md to rst

* set master_doc to index

* clean up
2020-10-26 12:55:03 +00:00
Clement Sam d71e3d8f89
chore(ci): use golangci action (#256)
* chore(ci): use golangci action

* Update lint.yml

* Update lint.yml

* fix lint chore

* fix lint errors

* fix lint errors

* disable travis buddy to reduce noise
2020-10-07 21:12:12 +00:00
Clement Sam 6c4fe1c2e8
Isolate commands into separate sub-packages (#229)
* refactor: organize commands into separate subfolders

* Format code with gofmt

This commit fixes the style issues introduced in d1f70d5 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/1ce57d1c-4f1e-48c2-a4d8-00c1bce7fb49/

* 🔥 sub-packaging

* Format code with gofmt

This commit fixes the style issues introduced in ca0bff4 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/11379011-98c6-43ea-8baa-4fefa9b775e4/

* 🔥 sub-packaging

* Format code with gofmt

This commit fixes the style issues introduced in 00e5936 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/c912f945-acf3-48d2-a550-0895c0153df0/

* Done with sub-packaging 🔥

* 🔥 tests

* Format code with gofmt

This commit fixes the style issues introduced in 56a8ff4 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/24498865-4980-479f-90c7-7ddd228c2bb4/

* fix bug risks

* fix tests

* fix tests

* Format code with gofmt

This commit fixes the style issues introduced in c947d02 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/cb2ac46a-f857-40d5-8508-eacc253b3614/

* Format code with gofmt

This commit fixes the style issues introduced in 902ff7b according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/f60ba0d6-94d3-47c0-ae27-568a5cc5d9e5/

* fix tests

* fix tests

* 🔥 gookit/color

* Format code with gofmt

This commit fixes the style issues introduced in 5a129ea according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/8f1c8327-f5c6-4ff5-97d2-3c8a23f0a1e2/

* Autofix issues in 1 files

Resolved issues in the following files via DeepSource Autofix:
1. commands/cmdtest/helper.go

* add tests for MR

* Format code with gofmt

This commit fixes the style issues introduced in 758af28 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/d55a4867-aa23-4202-b2cc-a7ceafbaa53e/

* migrate old config to new config

* fix bug risks

* Format code with gofmt

This commit fixes the style issues introduced in 0ea8eb2 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/f90cf664-8396-4b78-814d-3167ce898164/

* refactoring

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2020-09-29 05:55:34 +00:00
Clement Sam b8e5b6716e
refactor: fix module path (#190)
* refactor: fix module path

Change module path from glab to GitHub path in go.mod.
Tidy go.mod
Fix go imports.

Closes 189

* Format code with gofmt

This commit fixes the style issues introduced in 28e5336 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/398ecee6-d38c-472d-a91b-21de49624c9f/

* fix: unused imported package

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2020-09-02 12:20:33 +00:00
Clement Sam e0ba7fffb3 Fix(docs): fixed docs autogenerator 2020-08-10 07:06:02 +00:00
Clement Sam f4ece4028a Fix(docs): fixed docs autogenerator 2020-08-10 07:02:06 +00:00
Clement Sam d8139fa965 Fix(docs): fixed docs autogenerator 2020-08-10 06:55:56 +00:00
Clement Sam a1bcca6d9a Fix(docs): fixed docs autogenerator 2020-08-10 06:40:08 +00:00
Clement Sam 99e61f9c65 Fix(docs): fixed docs autogenerator 2020-08-10 06:25:53 +00:00
Clement Sam 0c56135072 Refactor: Restructure Project with cobra
Fix(crash): #60
Fix(help): #66
Fix(output): ansi style output on windows #54
Fix: #53
2020-08-09 09:58:28 +00:00
Clement Sam fd2891b950 docs: auto-generate docs
Resolves #68
2020-08-08 17:14:55 +00:00