Commit graph

53 commits

Author SHA1 Message Date
Cyborus
7214852444
add doc comments to pr commands 2024-05-09 12:27:49 -04:00
Cyborus
2f9c1a0f5d
add pr view _ labels 2024-05-09 12:09:14 -04:00
Cyborus
10a36f77a7
authenticate when fetching pull request 2024-05-08 13:38:21 -04:00
Cyborus
b42a3c27b9
make pr view prettier 2024-05-08 13:13:02 -04:00
Cyborus
9df8f68141
add pr checkout 2024-05-08 12:11:26 -04:00
Cyborus
b425f2bd70
use fancy display in pr viewing 2024-05-07 16:02:32 -04:00
Cyborus
3583943858
display changed lines in pr view 2024-05-07 15:24:57 -04:00
Cyborus
6fd1976013
add pr change viewing commands 2024-05-07 15:24:57 -04:00
Cyborus
460ac72451
add pr commands 2024-05-07 15:24:56 -04:00
Cyborus
5ea7cdb078
add optional fancy output 2024-05-07 14:28:17 -04:00
Cyborus
4ecb241fb5
guess host from remote tracking branch before enumerating remotes 2024-04-30 10:51:24 -04:00
Cyborus
df25728644
update to forgejo-api v0.2.0 2024-04-27 19:11:15 -04:00
Cyborus
4ac90b6ea9
rename fj user to fj whoami 2024-04-18 18:53:36 -04:00
Cyborus
5e5930545b
don't print url scheme in fj user 2024-04-18 17:47:22 -04:00
Cyborus
2587bf9482
format 2024-04-17 21:24:45 -04:00
Cyborus
6c08c8a25c
add proper readout for repo info 2024-04-17 21:12:29 -04:00
Cyborus
c272e9f6da
format 2024-04-17 15:58:45 -04:00
Cyborus
46cd32ebd8
improve host url and repo name detection 2024-04-17 15:41:06 -04:00
Cyborus
6cbd80e19f
update to new version of forgejo-api 2024-03-21 17:48:39 -04:00
Cyborus
b85b939376
update forgejo-api 2024-01-01 18:43:34 -05:00
Cyborus
43773f10f9
fix key including newline when read from stdin 2023-12-19 13:58:35 -05:00
Cyborus
eebf27d46f
allow url as remote 2023-12-17 11:17:49 -05:00
Cyborus
71a63b2565
format 2023-12-16 22:48:07 -05:00
Cyborus
358125b8ab Merge pull request 'add release commands' (#13) from releases into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/13
2023-12-17 02:55:38 +00:00
Cyborus
a39201fc77
add release commands 2023-12-16 19:42:38 -05:00
Cyborus
33367ed9c6
fmt 2023-12-13 00:30:47 -05:00
Cyborus
4a9f524827
add system for editor-specific flags 2023-12-13 00:25:28 -05:00
Cyborus
c4810e3e93 Merge pull request 'add git remote selection flag' (#10) from select-remote into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/10
2023-12-13 01:17:38 +00:00
Cyborus
87bb4d7840
format 2023-12-12 20:10:23 -05:00
Cyborus
e365cd35de
format 2023-12-12 20:09:43 -05:00
Cyborus
1a9353c9bf
add issue search 2023-12-12 20:06:42 -05:00
Cyborus
68d255db7a
add git remote selection flag 2023-12-12 20:06:20 -05:00
Cyborus
5dd4dbb690
format 2023-12-12 20:02:37 -05:00
Cyborus
d8c04f662a
add basic issue commands 2023-12-12 16:53:13 -05:00
Cyborus
3a62e2d5c8
fix repo create push 2023-11-26 19:39:25 -05:00
Cyborus
cb0a7d1d7a
set private flag to -P instead of -p to not conflict with push flag 2023-11-25 22:04:37 -05:00
Cyborus
8b6a5a6c13
don't look for remote if it obviously won't be there 2023-11-17 15:54:37 -05:00
Cyborus
5999e1e0b5
format 2023-11-17 15:32:58 -05:00
Cyborus
7fc2bf7390
fix url issues
The old system return the host's url, i.e. `https://codeberg.org`. The
new system returns the repo's url, i.e.
`https://codeberg.org/Cyborus/forgejo-cli`
2023-11-17 15:25:55 -05:00
Cyborus
51b180d4a9
decouple repo info from key info 2023-11-17 14:50:08 -05:00
Cyborus
66dd7096e4
fmt 2023-11-17 14:25:35 -05:00
Cyborus
7a525a5f3f
improve organization 2023-11-17 14:18:48 -05:00
Cyborus
b5693293e4
praise rustfmt 2023-08-18 22:57:07 -04:00
Cyborus
3dbbcb75a1
rework key lookup
Now uses the current branch's remote to find the host,
and only has one account signed in per host.
2023-08-18 22:40:46 -04:00
Cyborus
d7b4f64d01 missed a bit 2023-08-18 17:23:09 -04:00
Cyborus
82a53c72ac
move keys info to new file 2023-08-17 17:56:23 -04:00
Cyborus04
be2f72ebc1
fix pushing 2023-07-23 13:26:36 -04:00
Cyborus
c1806f5aa6 Replace calls to git with git2 crate (#5) 2023-07-20 16:06:16 -04:00
Cyborus04
2c30803476
remove unnecessary mut 2023-07-11 15:24:36 -04:00
Cyborus04
59a04601b6
choose upstream name in repo create 2023-07-11 13:27:44 -04:00