github unkn0wn-root/resterm v1.5.6

3 hours ago

v1.5.6

Flags can now be placed before or after positional arguments on every command. It also shows the active mock source scope in the header.

Argument order

These commands now do the same thing:

resterm run --request createPost requests.http
resterm run requests.http --request createPost

The same rule applies to other commands, including mock, history, collection, and init.

Use -- before a positional argument that starts with a dash:

resterm run -- -requests.http

Init directory

resterm init now reports an error when the target directory is passed both with --dir and as a positional argument. This also applies to --dir ..

Mock scope in the header

While the mock server is running, the header shows which files it is serving.

mock workspace
mock workspace/**
mock mocks/users.http
mock mocks/users.http +2

workspace/** means that subdirectories are included. When several source files are selected, the header shows the first file and the number of additional files. Use :mock status to see the full list.

Don't miss a new resterm release

NewReleases is sending notifications on new releases.