Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Request: Auto-generate task files from command line for loaded plugins #1560

Open
@aarontay

Description

@aarontay

As a Snap developer and plugin author, I would like to be able to automatically generate task configuration files for plugins. For example, following the loading of a plugin and prior to creating a task, I could issue a command line query to see what configuration parameters are available to set in a loaded plugin, then I could issue a second command to automatically generate a task file with my user defined and/or default configuration values for each configuration parameter specific to the loaded plugin.

By being able to automatically generate task files, plugin authors will be able to have a more standardized format for creating tasks from task files, ensure the task file formatting is in compliance with the file format requirements, minimize the potential for user errors in the task file and have better clarity if a task failed to create due to a bug in the source code rather than in the task file, and increase the usability and ease of using Snap and Snap plugins by having a more user friendly command line option, rather than having to manually author and edit task files. This will help support adoption and use of Snap by simplifying configuration of tasks as well as minimize task file errors due to issues Snap plugin authors currently experience such as setting non-existent config values, not setting required config values, missing commas or brackets, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions