Discussion
Loading...

Post

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Sven A. Schmidt
Sven A. Schmidt
@finestructure@mastodon.social  路  activity timestamp 5 months ago

#SwiftLang is such a nice scripting language. The only issue is that you basically always end up having to create a package.

Pro tip for when you do: use the `--type tool` flag

```
swift package init --type tool
```

when creating it. This will give you a nice scaffolding with ArgumentParser and the entry point already set up.

#swiftlang
  • Copy link
  • Flag this post
  • Block
Konstantin 馃敪
Konstantin 馃敪
@konstantin@hachyderm.io  路  activity timestamp 5 months ago

@finestructure oh cool! TIL

  • Copy link
  • Flag this comment
  • Block
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire bovenjan 路 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

You need to log in to see that page.

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen