App::S...::init(3pm)
π App::S...::init β aka App::Sqitch::Command::init(3pm) β¨
okay bestie, this is a User Contributed Perl Documentation page, and it's the blueprint for making a whole new Sqitch project out of thin air π± no cap.
πΈ Name πΈ
App::Sqitch::Command::init β Initialize a Sqitch project π
π Synopsis π
my $cmd = App::Sqitch::Command::init->new(%params);
$cmd->execute;
look at that. two lines. iconic. π
π¦ Description π¦
Bestie. This command creates the files and directories for a new Sqitch project β and when I say "basically," I mean basically a sqitch.conf file plus the directories for your deploy and revert scripts. That's it. That's the whole vibe. Brand new project, zero drag. β¨
π Interface π
π Class Methods π
options
my @opts = App::Sqitch::Command::init->options;
Returns a list of Getopt::Long option specifications for the command-line options for the config command. fr fr that's literally what it says. π«Ά
extra_target_keys
Returns a list of additional option keys to be specified via options. extra. keys. periodt. π
π Attributes π
uriβ URI for the project. like, the whole address of your lil project. π¦propertiesβ Hash of property values to set. all the settings, chillin in a hash. π
π§ Instance Methods π§
execute
$init->execute($project);
Executes the init command. that's the main character move right there π
write_config
$init->write_config;
Writes out the configuration file. Called by execute(). it does NOT do its own thing, execute() calls it. iykyk π
π Author π
David E. Wheeler <david@justatheory.com>
π License π
Copyright (c) 2012-2026 David E. Wheeler, 2012-2021 iovation Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
π¨ bestie the ALL CAPS part is not me being dramatic, that's the actual license text and it is doing the most for a reason. no warranty. none. at all. π
β¨ and that's a wrap on App::S...::init(3pm) β¨ this came out of perl v5.40.1, dated 2026-07-26 β slay, love that for us π«Άππ
π¦ where this page comes from
- ubuntu stonking: sqitch 1.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms