![]() On top of this, you can design your own landing page to help customers navigate the product knowledge base. A white-label portal means no branding from the vendor, but Gitbook doesn't offer the option to remove the Powered by logo as Archbee does. See tips and tricks for more common problems and solutions.Using the Custom Code feature in Archbee, you can brand the template to your brand guidelines. "yes", "no" were dropped as boolean values in the yaml 1.2 standard - which is the standard yq assumes.yq attempts to preserve comment positions and whitespace as much as possible, but it does not handle all scenarios (see for details).Use "yq -help" for more information about a command. xml-content-name string name for xml content (if no attribute name is present). xml-attribute-prefix string prefix for xml attributes (default "+") V, -version Print version information and quit unwrapScalar unwrap scalar, print the value with no quotes, colors or comments (default true) You can use $index in the expression as the result counter. s, -split-exp string print each result (or doc) into a file named (exp). P, -prettyPrint pretty print, shorthand for '. o, -output-format string output format type. n, -null-input Don't read input, simply evaluate the expression given. N, -no-doc Don't print document separators (-) M, -no-colors force print with no colors p, -input-format string parse format for input. ![]() i, -inplace update the file inplace of first file given. I, -indent int sets indent level for output (default 2) ![]() header-preprocess Slurp any header comments and separators before processing expression. Extract will pull out the yaml content, process will run the expression against the yaml content, leaving the remaining data intact f, -front-matter string (extract|process) first input as yaml front-matter. e, -exit-status set exit status if there are no matches or null or false is returned Shell-completion Generate completion script Yq -i '.stuff = "foo"' myfile.yml # update myfile.yml inplaceĬompletion Generate the autocompletion script for the specified shellĮval (default) Apply the expression to each document in each yaml file in sequenceĮval-all Loads _all_ yaml documents of _all_ yaml files and runs expression once Yq '.stuff' < myfile.yml # outputs the data at the "stuff" node from "myfile.yml" # yq defaults to 'eval' command if no command is specified. Github Action to use in your automated pipeline (thanks out the documentation for more detailed and advanced usage.Reduce to merge multiple files or sum an array or other fancy things.General shell completion scripts (bash/zsh/fish/powershell).Keeps yaml formatting and comments when updating (though there are issues with whitespace).Complex expressions to select and update.Manipulate yaml comments, styling, tags and anchors and aliases.Date/Time manipulation and formatting with TZ.Supports yaml front matter blocks (e.g.Fully supports multi document yaml files.Uses similar syntax as jq but works with YAML, JSON and XML files.Written in portable go, so you can download a lovely dependency free binary.Detailed documentation with many examples.Enable edge/community repo by adding $MIRROR/alpine/edge/community to /etc/apk/repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |