Skip to main content

Built and signed on GitHub Actions

The dotnet-cli module provides a simple way to execute dotnet commands

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
11 months ago (0.0.0)

@gnome/dotnet-cli

logo Work less. Do more.

Overview

The dotnet-cli module provides a simple way to execute dotnet commands.

The module relies upon the @gnome/exec module and has the same basic usage as the Command and ShellCommand class.

Basic Usage

import { dotnet } from "@gnome/dotnet-cli";
 
const result = dotnet("--version");
console.log(result.code);
console.log(result.text());

MIT License

Built and signed on
GitHub Actions
View transparency log

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@gnome/dotnet-cli

Import symbol

import * as dotnet_cli from "@gnome/dotnet-cli";
or

Import directly with a jsr specifier

import * as dotnet_cli from "jsr:@gnome/dotnet-cli";

Add Package

pnpm i jsr:@gnome/dotnet-cli
or (using pnpm 10.8 or older)
pnpm dlx jsr add @gnome/dotnet-cli

Import symbol

import * as dotnet_cli from "@gnome/dotnet-cli";

Add Package

yarn add jsr:@gnome/dotnet-cli
or (using Yarn 4.8 or older)
yarn dlx jsr add @gnome/dotnet-cli

Import symbol

import * as dotnet_cli from "@gnome/dotnet-cli";

Add Package

npx jsr add @gnome/dotnet-cli

Import symbol

import * as dotnet_cli from "@gnome/dotnet-cli";

Add Package

bunx jsr add @gnome/dotnet-cli

Import symbol

import * as dotnet_cli from "@gnome/dotnet-cli";