8000 Allow to initialize $ · Issue #600 · google/zx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow to initialize $ #600
Closed
Closed
@gajus

Description

@gajus

The current API feels awkward, whereby settings are applied after the command, i.e.

$`date`
  .nothrow()
  .quiet();

I'd like to be able to do something like

const $ = createZx({
  nothrow: true,
  queit: true,
});

$`date`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0