Kai Armstrong
f95b6ea90c
docs: add linting and checks to documentation
2022-10-21 14:38:48 +00:00
Oscar Tovar
40a5436789
chore: update module path
2022-09-19 20:23:45 +00:00
Gabriel Mazetto
14ba6cf1ba
Fix `glab repo view` handling of branches
2021-07-06 17:54:28 +02:00
Clement Sam
e4cb0f047e
add support for full urls
...
Adding support for allowing users enter full URLs to project path.
This will allows users override the repo host and protocol.
Examples:
- glab repo view git@gitlab.com:profclems/glab.git
- glab repo view https://gitlab.company.org/user/repo
- glab repo view https://gitlab.company.org/user/repo.git
2021-07-04 04:33:11 +00:00
Clement Sam
d031dac7b6
add more examples
2021-07-04 03:10:14 +00:00
Gabriel Mazetto
ebf9aabd22
Allow using `glab view` while outside of a repository
2021-07-02 18:33:00 +02:00
Gabriel Mazetto
0905f37156
Improve spacing for fallback README message
2021-07-02 18:15:52 +02:00
Gabriel Mazetto
81dbbb6884
Add manual spacing for no description fallback message
...
This will make the readme be displayed with the same spacing whether
description is present or not.
2021-07-02 18:12:05 +02:00
Gabriel Mazetto
467f83ceae
Use APIClient and f.Branch and handle errors with WrapError
2021-07-01 20:21:58 +02:00
Gabriel Mazetto
db2b031b16
Added project view command.
...
Usage: glab project view [repository] [--web]
Will either display project name, description and README
or open the URL in the default browser.
If repository is not informed it will try to get from current git
and will use current branch.
2021-07-01 03:16:40 +02:00