Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionCmd = &cobra.Command{
Use: "action",
Short: "Manage Profile Action Overrides ",
}
View Source
var ActionIds = map[Action][]string{ NoneAction: {"None"}, View: {"View"}, Tab: {"Tab"}, }
View Source
var FormFactorIds = map[FormFactor][]string{ NoneFormFactor: {"None"}, Large: {"Large"}, Small: {"Small"}, }
View Source
var TabCmd = &cobra.Command{
Use: "tab",
Short: "Manage tabs",
}
View Source
var TidyCmd = &cobra.Command{ Use: "tidy [filename]...", Short: "Tidy custom application", Long: ` Tidy custom application metadata. The --wide and --ignore-errors flags can be used to help manage CustomApplication metadata stored in a git repository. Configure clean and smudge git filters to use force-md: $ git config --local filter.salesforce-application.clean 'force-md application tidy --wide --ignore-errors -' $ git config --local filter.salesforce-application.smudge 'force-md application tidy --ignore-errors -' Update .gitattributes to use the salesforce-application filter: *.app-meta.xml filter=salesforce-application The --wide flag will cause the CustomApplication metadata to be stored in a flattened format that makes it easier to resolve merge conflicts. If a child of a profileActionOverrides element changes, for example, the entire profileActionOverrides element will show up as changed because it's stored on a single line. The smudge filter will cause the metadata to be unflattened so it's available in the normal "long" format in the working copy. `, Args: cobra.MinimumNArgs(1), DisableFlagsInUseLine: true, Run: func(cmd *cobra.Command, args []string) { for _, file := range args { tidy(file) } }, }
Functions ¶
This section is empty.
Types ¶
type FormFactor ¶
const ( NoneFormFactor FormFactor = iota Large Small )
Click to show internal directories.
Click to hide internal directories.