UNPKG
@beauraines/toggl-cli
Version:
latest (2.8.12)
2.8.12
2.8.11
2.8.10
2.8.9
2.8.8
2.8.7
2.8.6
2.8.5
2.8.4
2.8.3
2.8.1
2.8.0
2.7.0
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.5.9
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.16
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
0.10.22
0.10.21
0.10.20
0.10.19
0.10.18
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.9
0.10.7
0.10.6
0.10.5
CLI client for Toggl Time Tracker
github.com/beauraines/toggl-cli
beauraines/toggl-cli
@beauraines/toggl-cli
/
standalone
/
getWorkspaces.js
12 lines
(9 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
togglClient
from
'toggl-client'
import
dotenv
from
'dotenv'
const
client =
togglClient
() dotenv.
config
()
async
function
main
(
) {
const
workspaces =
await
client.
workspaces
.
list
()
console
.
log
(workspaces) }
main
()