From bf52bd0d3cfe089608a246b5fc930fd749468a38 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 18 Dec 2023 14:21:30 +0100 Subject: [PATCH] docs(commands): use more idiomatic commands per package manager --- docs/src/content/docs/commands/list.mdx | 4 ++-- docs/src/content/docs/commands/new.mdx | 4 ++-- docs/src/content/docs/commands/remove.mdx | 4 ++-- docs/src/content/docs/commands/up.mdx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/commands/list.mdx index 1a037fe..0238d76 100644 --- a/docs/src/content/docs/commands/list.mdx +++ b/docs/src/content/docs/commands/list.mdx @@ -20,12 +20,12 @@ It then sorts the migrations by filename in ascending order and outputs them and ```bash - pnpm exec emigrate list [options] + pnpm emigrate list [options] ``` ```bash - yarn exec emigrate -- list [options] + yarn emigrate list [options] ``` diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/commands/new.mdx index b6132ee..dfb8c04 100644 --- a/docs/src/content/docs/commands/new.mdx +++ b/docs/src/content/docs/commands/new.mdx @@ -19,12 +19,12 @@ The migration file can be based on a template, generated by a [generator plugin] ```bash - pnpm exec emigrate new [options] + pnpm emigrate new [options] ``` ```bash - yarn exec emigrate -- new [options] + yarn emigrate new [options] ``` diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index 5fafd2c..5347e43 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -17,12 +17,12 @@ The `remove` command is used to remove a migration from the history. This is use ```bash - pnpm exec emigrate remove [options] + pnpm emigrate remove [options] ``` ```bash - yarn exec emigrate -- remove [options] + yarn emigrate remove [options] ``` diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 17012b8..3320487 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -22,12 +22,12 @@ If any of the migrations fail, the command will be aborted and the rest of the m ```bash - pnpm exec emigrate up [options] + pnpm emigrate up [options] ``` ```bash - yarn exec emigrate -- up [options] + yarn emigrate up [options] ```