Adding one more parameter project name to the snapcraft init command

Bug #1672578 reported by XiaoGuo, Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

So far, snapcraft init works well in most of the cases. However, it would be best to have the following kind of format:

$ snapcraft init project_name

so that, the template is like:

====================================================
name: project_name # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: This is balabal project_name
description: |
  This is a template project for project_name

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots

parts:
  my-part:
    # See 'snapcraft plugins'
    plugin: nil
===================================================

A developer does not need to change the template much to start to work on the new project straight away.

Now, every time, I have to change the strings in the template thought it is not a big effort.

Thanks & best regards,
XiaoGuo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.