canonical / snapcraft

Package, distribute, and update any app for Linux and IoT.
https://snapcraft.io
GNU General Public License v3.0
1.19k stars 447 forks source link

refactor: use init command from craft-application #5129

Closed mr-cal closed 3 weeks ago

mr-cal commented 1 month ago

Replace Snapcraft's init implementation with craft-application's implementation. Somehow I added more lines of code :upside_down_face:

There are no behavioral changes with just snapcraft init. However, the command now accepts additional parameters added in craft-application: name, profile, and project-dir.

Fixes #5098 (CRAFT-3543)