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 Bun, Node.js, Deno
JSR Score
100%
Published
3 weeks 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

Add Package

deno add @gnome/dotnet-cli

Import symbol

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

Add Package

npx jsr add @gnome/dotnet-cli

Import symbol

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

Add Package

yarn dlx jsr add @gnome/dotnet-cli

Import symbol

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

Add Package

pnpm dlx jsr add @gnome/dotnet-cli

Import symbol

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

Add Package

bunx jsr add @gnome/dotnet-cli

Import symbol

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