feat: migration name generator
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
colorize = pkgs.callPackage ./package/colorize.nix {};
|
||||
github.gh-tl = pkgs.callPackage ./package/github/gh-tl.nix {};
|
||||
supabase-with-env-collection = pkgs.callPackage ./package/supabase-with-env-collection.nix {};
|
||||
migration-name = pkgs.callPackage ./package/migration-name.nix {};
|
||||
prettify-log = pkgs.callPackage ./package/prettify-log/default.nix {
|
||||
inherit (self.lib) cargoToml;
|
||||
nativeBuildInputs = [
|
||||
|
||||
4
package/migration-name.nix
Normal file
4
package/migration-name.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.writeShellScriptBin "migration-name" ''
|
||||
curl --silent https://raw.githubusercontent.com/dwyl/english-words/master/words.txt | shuf -n2 | tr '\n' '_' | sed 's/_$//'
|
||||
''
|
||||
Reference in New Issue
Block a user