sleep-pc.win-x64 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package sleep-pc.win-x64 --version 0.1.0
                    
NuGet\Install-Package sleep-pc.win-x64 -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sleep-pc.win-x64" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="sleep-pc.win-x64" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="sleep-pc.win-x64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add sleep-pc.win-x64 --version 0.1.0
                    
#r "nuget: sleep-pc.win-x64, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package sleep-pc.win-x64@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=sleep-pc.win-x64&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=sleep-pc.win-x64&version=0.1.0
                    
Install as a Cake Tool

sleep-pc

A .NET tool for sending a Windows laptop to sleep.

Install with:

dotnet tool install sleep-pc

and run with

sleep-pc
Usage: [options...] [-h|--help] [--version]

Waits for the provided number of seconds before sending the computer to sleep

Options:
  -s|--seconds|--sleep-delay-seconds <uint>    The time in seconds before the computer is put to sleep. Defaults to 1 hour (Default: 3600)
  --dry-run                                    If true, prints a message instead of sleeping (Optional)

Alternatively, with the .NET 10 SDK, run using:

dnx sleep-pc
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1 31 9/23/2025
0.2.0 253 9/18/2025
0.1.0 253 9/18/2025