mirror of
https://github.com/RGBCube/GitHub2Forgejo
synced 2025-07-26 04:37:43 +00:00
Remove calls to echo
This commit is contained in:
parent
b7b60faedb
commit
333fedbe6b
1 changed files with 0 additions and 4 deletions
|
@ -21,8 +21,6 @@ def main [
|
|||
let github_user = $github_user | str-or { input $"(ansi red)GitHub username: (ansi reset)" }
|
||||
let github_token = $github_token | str-or { input $"(ansi red)GitHub access token (ansi yellow)\((ansi blue)optional, only used for private repositories(ansi yellow))(ansi red): (ansi reset)" }
|
||||
|
||||
echo
|
||||
|
||||
let gitea_url = $gitea_url | str-or { input $"(ansi green)Gitea instance URL: (ansi reset)" }
|
||||
let gitea_url = if ($gitea_url | str ends-with "/") {
|
||||
$gitea_url | str trim --left --char "/"
|
||||
|
@ -33,8 +31,6 @@ def main [
|
|||
let gitea_user = $gitea_user | str-or { input $"(ansi green)Gitea username or organization to migrate to: (ansi reset)" }
|
||||
let gitea_token = $gitea_token | str-or { input $"(ansi green)Gitea access token: (ansi reset)" }
|
||||
|
||||
echo
|
||||
|
||||
let gitea_uid = (
|
||||
http get $"($gitea_url)/api/v1/users/($gitea_user)"
|
||||
-H [ Authorization $"token ($gitea_token)" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue