2.1.130 • Published 2 years ago

@swydo/byol-cli v2.1.130

Weekly downloads
238
License
MIT
Repository
github
Last release
2 years ago

BYOL CLI

GitHubActions conventionalCommits GitHub


A command line interface on top of byol that lets you easily invoke lamda functions from the command line or from your code by starting your own lambda server.

Install

npm install -g @swydo/byol-cli

Commands

start (default)

Combine both start-lambda and start-api. Start an AWS-compatible Lambda server as well as a server mimicing API Gateway on the same port.

byol [-p PORT] [-s | --silent] [--keep-alive] [--template-path] [--env-path] [--profile] [--region] [--inspect]
byol start [-p PORT] [-s | --silent] [--keep-alive] [--template-path] [--env-path] [--profile] [--region] [--inspect]

With this server running you can call your Lambdas using the aws-sdk and your API over HTTP as usual.

start-lambda

Start an AWS-compatible Lambda server capable of running the functions defined in your template.yml. This is a replacement for sam local start-lambda.

byol start-lambda [-p PORT] [-s | --silent] [--keep-alive] [--template-path] [--env-path] [--profile] [--region] [--inspect]

With this server running you can call your Lambdas using the aws-sdk.

start-api

Starts a server mimicing API Gateway in proxy mode. Similar to sam local start-api you can call endpoints defined in your template file. Currently, only event sources on the function resource AWS::Serverless::Function are supported.

byol start-api [-p PORT] [-s | --silent] [--keep-alive] [--template-path] [--env-path] [--profile] [--region] [--inspect]

With the server running, call your API over HTTP as usual.

invoke

Invoke a function as defined in your template.yml. This is a replacement for sam local invoke.

byol invoke -f FunctionName -e {} [-s | --silent] [--template-path] [--env-path] [--profile] [--region] [--inspect] [--inspect-port]

Debugging

Debugging is supported by specifying --inspect Each concurrent function invocation runs in its own node process, so multiple debuggers can co-exist.

When running a server, connect your debugger at the application port + worker number. For instance, if your function runs at port 3000, connect your debugger to the first concurrent invocation at 3001, the second at 3002.

When invoking your function using invoke, connect at the default port (43210) or specify your own with --inspect-port.

3.1.12

7 months ago

3.1.11

7 months ago

3.1.14

6 months ago

3.1.13

7 months ago

3.1.16

6 months ago

3.1.15

6 months ago

3.1.18

6 months ago

3.1.17

6 months ago

3.1.10

7 months ago

3.1.8

9 months ago

3.1.7

9 months ago

3.1.6

9 months ago

3.1.5

9 months ago

3.1.3

10 months ago

3.1.2

10 months ago

3.1.4

10 months ago

3.1.1

11 months ago

3.1.0

11 months ago

3.0.307

1 year ago

3.0.306

1 year ago

3.0.309

12 months ago

3.0.308

1 year ago

3.0.310

12 months ago

3.0.303

1 year ago

3.0.305

1 year ago

3.0.304

1 year ago

3.0.301

1 year ago

3.0.300

1 year ago

3.0.302

1 year ago

3.0.244

1 year ago

3.0.243

1 year ago

3.0.246

1 year ago

3.0.245

1 year ago

3.0.248

1 year ago

3.0.247

1 year ago

3.0.249

1 year ago

3.0.240

1 year ago

3.0.242

1 year ago

3.0.241

1 year ago

3.0.229

1 year ago

3.0.233

1 year ago

3.0.232

1 year ago

3.0.235

1 year ago

3.0.234

1 year ago

3.0.237

1 year ago

3.0.236

1 year ago

3.0.239

1 year ago

3.0.238

1 year ago

3.0.231

1 year ago

3.0.230

1 year ago

3.0.219

1 year ago

3.0.218

1 year ago

3.0.222

1 year ago

3.0.221

1 year ago

3.0.224

1 year ago

3.0.223

1 year ago

3.0.226

1 year ago

3.0.225

1 year ago

3.0.228

1 year ago

3.0.227

1 year ago

3.0.220

1 year ago

3.0.208

2 years ago

3.0.207

2 years ago

3.0.209

2 years ago

3.0.211

1 year ago

3.0.210

2 years ago

3.0.213

1 year ago

3.0.212

1 year ago

3.0.215

1 year ago

3.0.214

1 year ago

3.0.217

1 year ago

3.0.216

1 year ago

3.0.206

2 years ago

3.0.205

2 years ago

3.0.299

1 year ago

3.0.298

1 year ago

3.0.291

1 year ago

3.0.290

1 year ago

3.0.293

1 year ago

3.0.292

1 year ago

3.0.295

1 year ago

3.0.294

1 year ago

3.0.297

1 year ago

3.0.296

1 year ago

3.0.288

1 year ago

3.0.287

1 year ago

3.0.289

1 year ago

3.0.280

1 year ago

3.0.282

1 year ago

3.0.281

1 year ago

3.0.284

1 year ago

3.0.283

1 year ago

3.0.286

1 year ago

3.0.285

1 year ago

3.0.277

1 year ago

3.0.276

1 year ago

3.0.279

1 year ago

3.0.278

1 year ago

3.0.271

1 year ago

3.0.270

1 year ago

3.0.273

1 year ago

3.0.272

1 year ago

3.0.275

1 year ago

3.0.274

1 year ago

3.0.266

1 year ago

3.0.265

1 year ago

3.0.268

1 year ago

3.0.267

1 year ago

3.0.269

1 year ago

3.0.260

1 year ago

3.0.262

1 year ago

3.0.261

1 year ago

3.0.264

1 year ago

3.0.263

1 year ago

3.0.255

1 year ago

3.0.254

1 year ago

3.0.257

1 year ago

3.0.256

1 year ago

3.0.259

1 year ago

3.0.258

1 year ago

3.0.251

1 year ago

3.0.250

1 year ago

3.0.253

1 year ago

3.0.252

1 year ago

3.0.204

2 years ago

3.0.202

2 years ago

3.0.203

2 years ago

3.0.201

2 years ago

3.0.200

2 years ago

3.0.199

2 years ago

3.0.198

2 years ago

3.0.197

2 years ago

3.0.196

2 years ago

3.0.195

2 years ago

3.0.194

2 years ago

3.0.193

2 years ago

3.0.192

2 years ago

3.0.190

2 years ago

3.0.191

2 years ago

3.0.189

2 years ago

3.0.188

2 years ago

3.0.187

2 years ago

3.0.186

2 years ago

3.0.185

2 years ago

3.0.184

2 years ago

3.0.183

2 years ago

3.0.182

2 years ago

3.0.181

2 years ago

3.0.180

2 years ago

3.0.179

2 years ago

3.0.178

2 years ago

3.0.177

2 years ago

3.0.176

2 years ago

3.0.175

2 years ago

3.0.174

2 years ago

3.0.172

2 years ago

3.0.173

2 years ago

3.0.171

2 years ago

3.0.170

2 years ago

3.0.169

2 years ago

3.0.168

2 years ago

3.0.167

2 years ago

3.0.166

2 years ago

3.0.165

2 years ago

3.0.164

2 years ago

3.0.163

2 years ago

3.0.161

2 years ago

3.0.162

2 years ago

3.0.160

2 years ago

3.0.158

2 years ago

3.0.159

2 years ago

3.0.157

2 years ago

3.0.156

2 years ago

3.0.155

2 years ago

3.0.154

2 years ago

3.0.153

2 years ago

3.0.152

2 years ago

3.0.151

2 years ago

3.0.150

2 years ago

3.0.149

2 years ago

3.0.147

2 years ago

3.0.146

2 years ago

3.0.148

2 years ago

3.0.145

2 years ago

3.0.144

2 years ago

3.0.143

2 years ago

3.0.142

2 years ago

3.0.141

2 years ago

3.0.140

2 years ago

3.0.139

2 years ago

3.0.138

2 years ago

3.0.137

2 years ago

3.0.136

2 years ago

3.0.134

2 years ago

3.0.133

2 years ago

3.0.135

2 years ago

3.0.132

2 years ago

3.0.131

2 years ago

3.0.130

2 years ago

3.0.129

2 years ago

3.0.127

2 years ago

3.0.128

2 years ago

3.0.126

2 years ago

3.0.125

2 years ago

3.0.124

2 years ago

3.0.123

2 years ago

3.0.122

2 years ago

3.0.121

2 years ago

3.0.120

2 years ago

3.0.119

2 years ago

3.0.118

2 years ago

3.0.116

2 years ago

3.0.117

2 years ago

3.0.115

2 years ago

3.0.114

2 years ago

3.0.113

2 years ago

3.0.112

2 years ago

3.0.111

2 years ago

3.0.109

2 years ago

3.0.110

2 years ago

3.0.108

2 years ago

3.0.107

2 years ago

3.0.106

2 years ago

3.0.105

2 years ago

3.0.103

2 years ago

3.0.104

2 years ago

3.0.102

2 years ago

3.0.101

2 years ago

3.0.100

2 years ago

3.0.98

2 years ago

3.0.99

2 years ago

3.0.96

2 years ago

3.0.97

2 years ago

3.0.95

2 years ago

3.0.93

2 years ago

3.0.92

2 years ago

3.0.90

2 years ago

3.0.91

2 years ago

3.0.89

2 years ago

3.0.88

2 years ago

3.0.87

2 years ago

3.0.86

2 years ago

3.0.85

2 years ago

3.0.81

2 years ago

3.0.82

2 years ago

3.0.83

2 years ago

3.0.84

2 years ago

3.0.80

2 years ago

3.0.79

2 years ago

3.0.78

2 years ago

3.0.77

2 years ago

3.0.76

2 years ago

3.0.74

2 years ago

3.0.75

2 years ago

3.0.72

2 years ago

3.0.73

2 years ago

3.0.71

2 years ago

3.0.69

2 years ago

3.0.70

2 years ago

3.0.68

2 years ago

3.0.67

2 years ago

3.0.66

2 years ago

3.0.65

2 years ago

3.0.64

2 years ago

3.0.63

2 years ago

3.0.60

2 years ago

3.0.61

2 years ago

3.0.62

2 years ago

3.0.49

2 years ago

3.0.56

2 years ago

3.0.57

2 years ago

3.0.54

2 years ago

3.0.55

2 years ago

3.0.58

2 years ago

3.0.59

2 years ago

3.0.52

2 years ago

3.0.53

2 years ago

3.0.50

2 years ago

3.0.51

2 years ago

2.1.101

2 years ago

2.1.100

2 years ago

2.1.103

2 years ago

2.1.102

2 years ago

2.1.105

2 years ago

2.1.104

2 years ago

2.1.107

2 years ago

2.1.106

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.7

2 years ago

2.2.6

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.0

2 years ago

3.0.9

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

2.2.17

2 years ago

2.2.18

2 years ago

2.2.15

2 years ago

2.2.16

2 years ago

2.2.13

2 years ago

2.2.14

2 years ago

2.2.11

2 years ago

2.2.12

2 years ago

2.2.10

2 years ago

2.2.19

2 years ago

2.2.28

2 years ago

2.2.29

2 years ago

2.2.26

2 years ago

2.2.27

2 years ago

2.2.24

2 years ago

2.2.25

2 years ago

2.2.22

2 years ago

2.2.23

2 years ago

2.2.20

2 years ago

2.2.21

2 years ago

2.2.31

2 years ago

2.2.30

2 years ago

2.1.79

2 years ago

2.1.89

2 years ago

2.1.87

2 years ago

2.1.88

2 years ago

2.1.85

2 years ago

2.1.86

2 years ago

2.1.83

2 years ago

2.1.84

2 years ago

2.1.81

2 years ago

2.1.82

2 years ago

2.1.80

2 years ago

2.1.98

2 years ago

2.1.99

2 years ago

2.1.96

2 years ago

2.1.97

2 years ago

2.1.94

2 years ago

2.1.95

2 years ago

2.1.92

2 years ago

2.1.93

2 years ago

2.1.90

2 years ago

2.1.91

2 years ago

3.0.12

2 years ago

3.0.13

2 years ago

3.0.10

2 years ago

3.0.11

2 years ago

3.0.16

2 years ago

3.0.17

2 years ago

3.0.14

2 years ago

3.0.15

2 years ago

3.0.45

2 years ago

3.0.46

2 years ago

3.0.43

2 years ago

3.0.44

2 years ago

3.0.47

2 years ago

3.0.48

2 years ago

3.0.41

2 years ago

3.0.42

2 years ago

3.0.40

2 years ago

2.1.130

2 years ago

2.1.132

2 years ago

2.1.131

2 years ago

2.1.134

2 years ago

2.1.133

2 years ago

2.1.135

2 years ago

3.0.23

2 years ago

2.1.109

2 years ago

3.0.24

2 years ago

2.1.108

2 years ago

3.0.21

2 years ago

3.0.22

2 years ago

3.0.27

2 years ago

3.0.28

2 years ago

3.0.25

2 years ago

3.0.26

2 years ago

3.0.20

2 years ago

2.1.110

2 years ago

2.1.112

2 years ago

2.1.111

2 years ago

3.0.18

2 years ago

2.1.114

2 years ago

3.0.19

2 years ago

2.1.113

2 years ago

2.1.116

2 years ago

2.1.115

2 years ago

2.1.118

2 years ago

2.1.117

2 years ago

3.0.34

2 years ago

3.0.35

2 years ago

2.1.119

2 years ago

3.0.32

2 years ago

3.0.33

2 years ago

3.0.38

2 years ago

3.0.39

2 years ago

3.0.36

2 years ago

3.0.37

2 years ago

3.0.30

2 years ago

3.0.31

2 years ago

2.1.121

2 years ago

2.1.120

2 years ago

2.1.123

2 years ago

2.1.122

2 years ago

3.0.29

2 years ago

2.1.125

2 years ago

2.1.124

2 years ago

2.1.127

2 years ago

2.1.126

2 years ago

2.1.129

2 years ago

2.1.128

2 years ago

2.1.78

2 years ago

2.1.76

2 years ago

2.1.77

2 years ago

2.1.75

2 years ago

2.1.69

2 years ago

2.1.67

2 years ago

2.1.68

2 years ago

2.1.65

2 years ago

2.1.66

2 years ago

2.1.64

2 years ago

2.1.74

2 years ago

2.1.72

2 years ago

2.1.73

2 years ago

2.1.70

2 years ago

2.1.71

2 years ago

2.1.59

3 years ago

2.1.63

2 years ago

2.1.61

3 years ago

2.1.62

3 years ago

2.1.60

3 years ago

2.1.58

3 years ago

2.1.56

3 years ago

2.1.57

3 years ago

2.1.54

3 years ago

2.1.55

3 years ago

2.1.52

3 years ago

2.1.53

3 years ago

2.1.50

3 years ago

2.1.51

3 years ago

2.1.49

3 years ago

2.1.48

3 years ago

2.1.39

3 years ago

2.1.47

3 years ago

2.1.45

3 years ago

2.1.46

3 years ago

2.1.43

3 years ago

2.1.44

3 years ago

2.1.41

3 years ago

2.1.42

3 years ago

2.1.40

3 years ago

2.1.38

3 years ago

2.1.18

3 years ago

2.1.19

3 years ago

2.1.27

3 years ago

2.1.28

3 years ago

2.1.25

3 years ago

2.1.26

3 years ago

2.1.23

3 years ago

2.1.24

3 years ago

2.1.21

3 years ago

2.1.22

3 years ago

2.1.20

3 years ago

2.1.29

3 years ago

2.1.36

3 years ago

2.1.37

3 years ago

2.1.34

3 years ago

2.1.35

3 years ago

2.1.32

3 years ago

2.1.33

3 years ago

2.1.30

3 years ago

2.1.31

3 years ago

2.1.16

3 years ago

2.1.17

3 years ago

2.1.14

4 years ago

2.1.15

3 years ago

2.1.12

4 years ago

2.1.13

4 years ago

2.1.11

4 years ago

2.1.2

4 years ago

2.0.15

4 years ago

2.1.1

4 years ago

2.0.16

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.0.14

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.0.19

4 years ago

2.0.17

4 years ago

2.0.18

4 years ago

2.0.26

4 years ago

2.0.27

4 years ago

2.0.24

4 years ago

2.0.25

4 years ago

2.0.22

4 years ago

2.0.23

4 years ago

2.0.20

4 years ago

2.0.21

4 years ago

2.0.28

4 years ago

2.0.29

4 years ago

2.0.37

4 years ago

2.0.35

4 years ago

2.0.36

4 years ago

2.0.33

4 years ago

2.0.34

4 years ago

2.0.31

4 years ago

2.0.32

4 years ago

2.0.30

4 years ago

2.1.9

4 years ago

2.1.10

4 years ago

2.0.13

4 years ago

2.0.11

4 years ago

2.0.12

4 years ago

2.0.10

4 years ago

2.0.9

4 years ago

2.1.0

4 years ago

2.0.8

4 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.17.3

4 years ago

1.17.2

4 years ago

1.17.1

4 years ago

1.17.0

4 years ago

1.16.67

4 years ago

1.16.66

4 years ago

1.16.65

4 years ago

1.16.61

4 years ago

1.16.60

4 years ago

1.16.64

4 years ago

1.16.63

4 years ago

1.16.62

4 years ago

1.16.58

4 years ago

1.16.59

4 years ago

1.16.57

4 years ago

1.16.56

4 years ago

1.16.54

4 years ago

1.16.55

4 years ago

1.16.53

4 years ago

1.16.52

4 years ago

1.16.51

4 years ago

1.16.49

4 years ago

1.16.50

4 years ago

1.16.47

4 years ago

1.16.48

4 years ago

1.16.46

5 years ago

1.16.45

5 years ago

1.16.43

5 years ago

1.16.42

5 years ago

1.16.44

5 years ago

1.16.41

5 years ago

1.16.40

5 years ago

1.16.39

5 years ago

1.16.36

5 years ago

1.16.35

5 years ago

1.16.34

5 years ago

1.16.38

5 years ago

1.16.37

5 years ago

1.16.32

5 years ago

1.16.31

5 years ago

1.16.33

5 years ago

1.16.30

5 years ago

1.16.29

5 years ago

1.16.28

5 years ago

1.16.27

5 years ago

1.16.26

5 years ago

1.16.25

5 years ago

1.16.24

5 years ago

1.16.23

5 years ago

1.16.21

5 years ago

1.16.20

5 years ago

1.16.22

5 years ago

1.16.19

5 years ago

1.16.18

5 years ago

1.16.17

5 years ago

1.16.16

5 years ago

1.16.15

5 years ago

1.16.14

5 years ago

1.16.13

5 years ago

1.16.12

5 years ago

1.16.11

5 years ago

1.16.10

5 years ago

1.16.9

5 years ago

1.16.8

5 years ago

1.16.7

5 years ago

1.16.6

5 years ago

1.16.5

5 years ago

1.16.3

5 years ago

1.16.4

5 years ago

1.16.2

5 years ago

1.16.1

5 years ago

1.16.0

5 years ago

1.15.21

5 years ago

1.15.20

5 years ago

1.15.19

5 years ago

1.15.18

5 years ago

1.15.17

5 years ago

1.15.16

5 years ago

1.15.15

5 years ago

1.15.14

5 years ago

1.15.13

5 years ago

1.15.12

5 years ago

1.15.11

5 years ago

1.15.10

5 years ago

1.15.9

5 years ago

1.15.8

5 years ago

1.15.7

5 years ago

1.15.6

5 years ago

1.15.5

5 years ago

1.15.4

5 years ago

1.15.3

5 years ago

1.15.2

5 years ago

1.15.1

5 years ago

1.15.0

5 years ago

1.14.20

5 years ago

1.14.21

5 years ago

1.14.19

5 years ago

1.14.17

5 years ago

1.14.18

5 years ago

1.14.16

5 years ago

1.14.15

5 years ago

1.14.14

5 years ago

1.14.13

5 years ago

1.14.11

5 years ago

1.14.12

5 years ago

1.14.10

5 years ago

1.14.9

5 years ago

1.14.8

5 years ago

1.14.7

5 years ago

1.14.5

5 years ago

1.14.6

5 years ago

1.14.1

5 years ago

1.14.4

5 years ago

1.14.3

5 years ago

1.14.2

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.14

5 years ago

1.12.12

5 years ago

1.12.13

5 years ago

1.12.11

5 years ago

1.12.10

5 years ago

1.12.9

5 years ago

1.12.7

6 years ago

1.12.8

6 years ago

1.12.6

6 years ago

1.12.5

6 years ago

1.12.4

6 years ago

1.12.3

6 years ago

1.12.2

6 years ago

1.12.1

6 years ago

1.12.0

6 years ago

1.11.9

6 years ago

1.11.8

6 years ago

1.11.7

6 years ago

1.11.6

6 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.0

6 years ago

1.11.1

6 years ago

1.10.0

6 years ago

1.9.0

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.8

6 years ago

1.5.7

6 years ago

1.5.5

6 years ago

1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.1.1

6 years ago

0.0.2

6 years ago