Skip to content

Conversation

kellymears
Copy link
Contributor

I don't think the generated wp-cli.yml is compliant with the yml spec.

The “@” (x40, at) and “`” (x60, grave accent) are reserved for future use.

Reserved indicators can't start a plain scalar.

yaml spec (1.2.2)

yamllint and vscode's default YAML checks report errors, so I think I might be on to something.

test.yml
  1:1       error    syntax error: found character '@' that cannot start any token (syntax)

@swalkinshaw
Copy link
Member

alias_test.go needs to be updated but otherwise this looks good 👍

@swalkinshaw swalkinshaw merged commit 278e88b into master Jun 29, 2023
@swalkinshaw swalkinshaw deleted the alias-template-yml branch June 29, 2023 22:13
@chrillep
Copy link

@swalkinshaw when will this be released? 😅

@swalkinshaw
Copy link
Member

@chrillep I'll do one this week (maybe tonight).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants