A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/dfa4cabdccdd1c82cc160bb435c29c45ed05fdf4 below:

update output examples · npm/cli@dfa4cab · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+21

-50

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+21

-50

lines changed Original file line number Diff line number Diff line change

@@ -17,28 +17,17 @@ support this interface.

17 17

* `npm profile get [<property>]`: Display all of the properties of your

18 18

profile, or one or more specific properties. It looks like:

19 19 20 -

```bash

21 -

+-----------------+---------------------------+

22 -

| name | example |

23 -

+-----------------+---------------------------+

24 -

| email | me@example.com (verified) |

25 -

+-----------------+---------------------------+

26 -

| two factor auth | auth-and-writes |

27 -

+-----------------+---------------------------+

28 -

| fullname | Example User |

29 -

+-----------------+---------------------------+

30 -

| homepage | |

31 -

+-----------------+---------------------------+

32 -

| freenode | |

33 -

+-----------------+---------------------------+

34 -

| twitter | |

35 -

+-----------------+---------------------------+

36 -

| github | |

37 -

+-----------------+---------------------------+

38 -

| created | 2015-02-26T01:38:35.892Z |

39 -

+-----------------+---------------------------+

40 -

| updated | 2017-10-02T21:29:45.922Z |

41 -

+-----------------+---------------------------+

20 +

```

21 +

name: example

22 +

email: e@example.com (verified)

23 +

two-factor auth: auth-and-writes

24 +

fullname: Example User

25 +

homepage:

26 +

freenode:

27 +

twitter:

28 +

github:

29 +

created: 2015-02-26T01:38:35.892Z

30 +

updated: 2017-10-02T21:29:45.922Z

42 31

```

43 32 44 33

* `npm profile set <property> <value>`: Set the value of a profile

Original file line number Diff line number Diff line change

@@ -16,24 +16,14 @@ This lets you list, create and revoke authentication tokens.

16 16

Shows a table of all active authentication tokens. You can request

17 17

this as JSON with `--json` or tab-separated values with `--parseable`.

18 18 19 -

```bash

20 -

+--------+---------+------------+----------+----------------+

21 -

| id | token | created | read-only | CIDR whitelist |

22 -

+--------+---------+------------+----------+----------------+

23 -

| 7f3134 | 1fa9ba… | 2017-10-02 | yes | |

24 -

+--------+---------+------------+----------+----------------+

25 -

| c03241 | af7aef… | 2017-10-02 | no | 192.168.0.1/24 |

26 -

+--------+---------+------------+----------+----------------+

27 -

| e0cf92 | 3a436a… | 2017-10-02 | no | |

28 -

+--------+---------+------------+----------+----------------+

29 -

| 63eb9d | 74ef35… | 2017-09-28 | no | |

30 -

+--------+---------+------------+----------+----------------+

31 -

| 2daaa8 | cbad5f… | 2017-09-26 | no | |

32 -

+--------+---------+------------+----------+----------------+

33 -

| 68c2fe | 127e51… | 2017-09-23 | no | |

34 -

+--------+---------+------------+----------+----------------+

35 -

| 6334e1 | 1dadd1… | 2017-09-23 | no | |

36 -

+--------+---------+------------+----------+----------------+

19 +

```

20 +

Read only token npm_1f… with id 7f3134 created 2017-10-21

21 + 22 +

Publish token npm_af… with id c03241 created 2017-10-02

23 +

with IP Whitelist: 192.168.0.1/24

24 + 25 +

Publish token npm_… with id e0cf92 created 2017-10-02

26 + 37 27

```

38 28 39 29

* `npm token create [--read-only] [--cidr=<cidr-ranges>]`:

@@ -49,16 +39,8 @@ This lets you list, create and revoke authentication tokens.

49 39

website](https://docs.npmjs.com/creating-and-viewing-access-tokens)

50 40

for more information on generating automation tokens.

51 41 52 -

```bash

53 -

+----------------+--------------------------------------+

54 -

| token | a73c9572-f1b9-8983-983d-ba3ac3cc913d |

55 -

+----------------+--------------------------------------+

56 -

| cidr_whitelist | |

57 -

+----------------+--------------------------------------+

58 -

| readonly | false |

59 -

+----------------+--------------------------------------+

60 -

| created | 2017-10-02T07:52:24.838Z |

61 -

+----------------+--------------------------------------+

42 +

```

43 +

Created publish token a73c9572-f1b9-8983-983d-ba3ac3cc913d

62 44

```

63 45 64 46

* `npm token revoke <token|id>`:

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4