mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[cli] Explicitly use vc project vs. vc projects (#8113)
This is a follow-up to #8091 which: - Makes `vc project` the default command, with `vc projects` aliased to `vc project` (previously it was not clear in the code which one was the "real" command) - Makes some helper names for `ls` more specific ### 📋 Checklist <!-- Please keep your PR as a Draft until the checklist is complete --> #### Tests - [ ] The code changed/added as part of this PR has been covered with tests - [ ] All tests pass locally with `yarn test-unit` #### Code Review - [ ] This PR has a concise title and thorough description useful to a reviewer - [ ] Issue from task tracker has a link to this PR
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export function getDataFromIntro(output: string): {
|
||||
export function pluckIdentifiersFromDeploymentList(output: string): {
|
||||
project: string | undefined;
|
||||
org: string | undefined;
|
||||
} {
|
||||
@@ -11,7 +11,7 @@ export function getDataFromIntro(output: string): {
|
||||
};
|
||||
}
|
||||
|
||||
export function parseTable(output: string): string[] {
|
||||
export function parseSpacedTableRow(output: string): string[] {
|
||||
return output
|
||||
.trim()
|
||||
.replace(/ {1} +/g, ',')
|
||||
|
||||
Reference in New Issue
Block a user