KRAFT-LIB-CREATE(1)
π KRAFT-LIB-CREATE π
okay bestie, welcome to the KraftKit CLI manual (that's the KraftKit Manual page you're on rn) β this one is all about kraft-lib-create, and honestly? it's a whole moment. π
β¨ NAME β¨
kraft-lib-create β literally initializes a library from a template. that's it. that's the vibe. π¦
πΈ SYNOPSIS πΈ
kraft lib create [FLAGS] [NAME]
flags first, name optional, main character energy always. π
π«Ά DESCRIPTION π«Ά
it creates a library template. no cap, that is genuinely the entire description β the manpage said it in five words and honestly? respect. so bestie, you run it, you get a library template. slay. β¨
π OPTIONS π
okay this is the part where you screenshot and send to the group chat, because there are a lot of them and they all matter:
--author-email=""β sets the author email to the template. put your real one in, i'm begging π--author-name=""β sets the author name to the template. your name, in lights. iconic β¨--copyright-holder=""β sets the copyright holder name to the template. yes it's a whole legal thing, yes you still have to fill it in π--description=""β sets the description to the template. one line, make it cute π--git-init[=false]β init git through the creating library. version control from day one, as you should π«Ά-h,--help[=false]β help forcreate. when in doubt, smash this π₯--initial-branch=""β sets the initial branch name to the template.maingirlies rise π--library-kname=""β sets the library kname to the template. yes, kname. it's a whole thing. π--library-name=""β sets the library name to the template. lowkey the most important one ngl--no-provide-c-main[=false]β do not provide Cmainto the template. for the library-only girlies who don't need an entry point π--origin=""β source code origin URL. where it came from, iykyk πΈ--patch-dir[=false]β provide patch directory to the template. patches? provided. β--project-name=""β sets the project name to the template. name your baby πΌ--project-path=""β where to create library. like, which directory. the location. the spot. π--update-refs[=false]β softly pack the component so that it is available viakraft list. softly!! packing!! π§-v,--version=""β sets the library version to the template. semver bestie, don't embarrass me π
β οΈ heads up: every one of those string options defaults to""and every bool defaults tofalse. that's the literal default, not me being dramatic (this time).
π₯ EXAMPLES π₯
okay the fun part, copy-paste freely:
# Create a library template
$ kraft lib create
bare. minimal. confident. just vibes. β¨
# Create a library template with a name
$ kraft lib create sample-project
now it's got a name, so it's basically a person. sample-project is such a good name fr fr π₯Ή
π¦ SEE ALSO π¦
kraft-lib(1)β the parent page, go read it, it's giving lore π
π HISTORY π
1-Jan-1980 β Auto generated by KraftKit. so it's vintage. an elder. a classic. and yet somehow still the moment π
and that's the page bestie!! π this absolute queen of a document is brought to you by KraftKit Documentation, dated Jan 1980 β yes, that date, don't ask, it's vintage. KraftKit CLI(1) forever, mwah ππ«Άβ¨
π¦ where this page comes from
- nixos 26.05: kraft 0.12.5
- nixpkgs unstable: kraft 0.12.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms