You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@
27
27
28
28
`npm install -g @sinedied/devto-cli`
29
29
30
-
If you only want to synchronize a GitHub repository with dev.to, you can follow this [quickstart tutorial](#create-a-new-github-repository-synchronized-with-dev.to)and use `npx @sinedied/devto-cli init`without installing the CLI.
30
+
If you only want to synchronize a GitHub repository with dev.to, you can follow this [quickstart tutorial](#create-a-new-github-repository-synchronized-with-dev.to) without installing the CLI.
31
31
32
32
## Usage
33
33
34
34
```
35
-
Usage: devto <init|new|push|stats> [options]
35
+
Usage: dev <init|new|push|stats> [options]
36
36
37
37
Commands:
38
38
i, init Init current dir as an article repository
@@ -57,7 +57,7 @@ General options:
57
57
58
58
### Init
59
59
60
-
`devto init` initializes the current folder as a repository for all your articles.
60
+
`dev init` initializes the current folder as a repository for all your articles.
61
61
62
62
It does 3 things:
63
63
@@ -71,11 +71,11 @@ There are a few more step needed to finish the setup on GitHub, see the [quickst
71
71
72
72
### New
73
73
74
-
`devto new <file>` creates a new markdown file with front matter properties prepared for you.
74
+
`dev new <file>` creates a new markdown file with front matter properties prepared for you.
75
75
76
76
### Push
77
77
78
-
`devto push [files]` pushes all updates for the specified files to dev.to (`posts/***/*.md` by default, globs supported).
78
+
`dev push [files]` pushes all updates for the specified files to dev.to (`posts/***/*.md` by default, globs supported).
79
79
80
80
This command only updates articles that have changes.
81
81
@@ -115,7 +115,7 @@ Using the `--dry-run` option the whole push process will be executed, but withou
115
115
116
116
### Stats
117
117
118
-
`devto stats` allows you to see the stats for your latest *published* articles.
118
+
`dev stats` allows you to see the stats for your latest *published* articles.
119
119
120
120
Only the latest 10 are shown by default, but you can change that number using the `--number` option.
0 commit comments